Commit f5c511c6 authored by Jan Engelhardt's avatar Jan Engelhardt

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: default avatarJan Engelhardt <jengelh@medozas.de>
parent 4f948db1
...@@ -331,6 +331,7 @@ struct xt_target { ...@@ -331,6 +331,7 @@ struct xt_target {
struct list_head list; struct list_head list;
const char name[XT_FUNCTION_MAXNAMELEN-1]; const char name[XT_FUNCTION_MAXNAMELEN-1];
u_int8_t revision;
/* Returns verdict. Argument order changed since 2.6.9, as this /* Returns verdict. Argument order changed since 2.6.9, as this
must now handle non-linear skbs, using skb_copy_bits and must now handle non-linear skbs, using skb_copy_bits and
...@@ -363,7 +364,6 @@ struct xt_target { ...@@ -363,7 +364,6 @@ struct xt_target {
unsigned short proto; unsigned short proto;
unsigned short family; unsigned short family;
u_int8_t revision;
}; };
/* Furniture shopping... */ /* Furniture shopping... */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment