projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f88e6a8
)
netfilter: xtables: realign struct xt_target_param
author
Jan Engelhardt
<jengelh@medozas.de>
Sun, 5 Jul 2009 13:55:06 +0000
(15:55 +0200)
committer
Jan Engelhardt
<jengelh@medozas.de>
Mon, 10 Aug 2009 11:35:24 +0000
(13:35 +0200)
This commit gets rid of a padding hole as reported by pahole(1).
Saves 8 bytes on x86_64.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
include/linux/netfilter/x_tables.h
patch
|
blob
|
history
diff --git
a/include/linux/netfilter/x_tables.h
b/include/linux/netfilter/x_tables.h
index 1030b7593898d440498b221cf9828809076bc6da..4fa6e4c263e07c5c85c0c6f4401bef383ca952ab 100644
(file)
--- a/
include/linux/netfilter/x_tables.h
+++ b/
include/linux/netfilter/x_tables.h
@@
-238,9
+238,9
@@
struct xt_mtdtor_param {
*/
struct xt_target_param {
const struct net_device *in, *out;
- unsigned int hooknum;
const struct xt_target *target;
const void *targinfo;
+ unsigned int hooknum;
u_int8_t family;
};