summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-07-05 15:55:06 +0200
committerJan Engelhardt <jengelh@medozas.de>2009-08-10 13:35:24 +0200
commit98d89b4198cf7273968e9217a62ec7ccfd760171 (patch)
tree1ea90fdc04be8a5f98d708526aed50ce59e477dd /include
parentf88e6a8a50a603f8347343e75d035889784a507c (diff)
downloadop-kernel-dev-98d89b4198cf7273968e9217a62ec7ccfd760171.zip
op-kernel-dev-98d89b4198cf7273968e9217a62ec7ccfd760171.tar.gz
netfilter: xtables: realign struct xt_target_param
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/x_tables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h
index 1030b75..4fa6e4c 100644
--- 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;
};
OpenPOWER on IntegriCloud