diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-03-18 09:02:10 -0400 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-03-18 09:20:07 -0400 |
commit | f5c511c67aaec323c186543856cfddab31bed1d1 (patch) | |
tree | f8e13514ea497f75eeb7f89e3bfc6509c069b0ee | |
parent | 4f948db1915ff05e4ce0fd98e6323db6a3ec0fc0 (diff) |
netfilter: xtables: reduce holes in struct xt_target
This will save one full padding chunk (8 bytes on x86_64) per target.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-rw-r--r-- | include/linux/netfilter/x_tables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h index cf91473624e1..f8f555153373 100644 --- a/include/linux/netfilter/x_tables.h +++ b/include/linux/netfilter/x_tables.h | |||
@@ -331,6 +331,7 @@ struct xt_target { | |||
331 | struct list_head list; | 331 | struct list_head list; |
332 | 332 | ||
333 | const char name[XT_FUNCTION_MAXNAMELEN-1]; | 333 | const char name[XT_FUNCTION_MAXNAMELEN-1]; |
334 | u_int8_t revision; | ||
334 | 335 | ||
335 | /* Returns verdict. Argument order changed since 2.6.9, as this | 336 | /* Returns verdict. Argument order changed since 2.6.9, as this |
336 | must now handle non-linear skbs, using skb_copy_bits and | 337 | must now handle non-linear skbs, using skb_copy_bits and |
@@ -363,7 +364,6 @@ struct xt_target { | |||
363 | unsigned short proto; | 364 | unsigned short proto; |
364 | 365 | ||
365 | unsigned short family; | 366 | unsigned short family; |
366 | u_int8_t revision; | ||
367 | }; | 367 | }; |
368 | 368 | ||
369 | /* Furniture shopping... */ | 369 | /* Furniture shopping... */ |