Browse Source

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>
Jan Engelhardt 16 years ago
parent
commit
98d89b4198
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/netfilter/x_tables.h

+ 1 - 1
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;
 };