summaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter
diff options
context:
space:
mode:
authorEvgeniy Polyakov <zbr@ioremap.net>2009-06-04 16:54:42 +0200
committerPatrick McHardy <kaber@trash.net>2009-06-04 16:54:42 +0200
commita5e78820966e17c2316866e00047e4e7e5480f04 (patch)
tree9d9d814edced591d0cbaabf6cf5e91c54556e255 /net/ipv4/netfilter
parente34d5c1a4f9919a81b4ea4591d7383245f35cb8e (diff)
downloadlinux-stable-a5e78820966e17c2316866e00047e4e7e5480f04.tar.gz
linux-stable-a5e78820966e17c2316866e00047e4e7e5480f04.tar.bz2
linux-stable-a5e78820966e17c2316866e00047e4e7e5480f04.zip
netfilter: x_tables: added hook number into match extension parameter structure.
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv4/netfilter')
-rw-r--r--net/ipv4/netfilter/ip_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c
index 7b35c0b3841b..5bf7c3f185da 100644
--- a/net/ipv4/netfilter/ip_tables.c
+++ b/net/ipv4/netfilter/ip_tables.c
@@ -343,7 +343,7 @@ ipt_do_table(struct sk_buff *skb,
mtpar.in = tgpar.in = in;
mtpar.out = tgpar.out = out;
mtpar.family = tgpar.family = NFPROTO_IPV4;
- tgpar.hooknum = hook;
+ mtpar.hooknum = tgpar.hooknum = hook;
IP_NF_ASSERT(table->valid_hooks & (1 << hook));
xt_info_rdlock_bh();