]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: fix CONFIG_COMPAT support
authorFlorian Westphal <fw@strlen.de>
Mon, 23 Aug 2010 21:41:22 +0000 (14:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Aug 2010 21:41:22 +0000 (14:41 -0700)
commit6f041a17e1904e44168b765d6f4191a566e360dd
tree722c5777a1a96d1d0228c58a6fcbd09c45c8ae56
parent7f6bd8e2540ef181cd06b493ea11d016603f69b0
netfilter: fix CONFIG_COMPAT support

commit 8babca49d5470eb7d80dc6a7c296371bf7de5637
(netfilter: xtables: make ip_tables reentrant) forgot to
also compute the jumpstack size in the compat handlers.

Result is that "iptables -I INPUT -j userchain" turns into -j DROP.

Reported by Sebastian Roesner on #netfilter, closes
http://bugzilla.netfilter.org/show_bug.cgi?id=669.

Note: arptables change is compile-tested only.

Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c