projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
586d5a8
)
netfilter: reduce size of nf_hook_state on 32bit platforms
author
Florian Westphal
<fw@strlen.de>
Fri, 28 May 2021 10:30:04 +0000
(12:30 +0200)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Fri, 28 May 2021 23:04:53 +0000
(
01:04
+0200)
Reduce size from 28 to 24 bytes on 32bit platforms.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter.h
patch
|
blob
|
history
diff --git
a/include/linux/netfilter.h
b/include/linux/netfilter.h
index
f0f3a83
..
f161569
100644
(file)
--- a/
include/linux/netfilter.h
+++ b/
include/linux/netfilter.h
@@
-65,8
+65,8
@@
struct nf_hook_ops;
struct sock;
struct nf_hook_state {
- u
nsigned int
hook;
- u
_int8_t
pf;
+ u
8
hook;
+ u
8
pf;
struct net_device *in;
struct net_device *out;
struct sock *sk;