aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@coreworks.de>2005-01-11 05:44:14 +0100
committerPatrick McHardy <kaber@coreworks.de>2005-01-11 05:44:14 +0100
commit1affe87dce2f8daa0f3c409d629f786b9509a127 (patch)
treef559c4f0a3cd4be47ad145733cb4adf0037abae2 /net
parentfd028ee0531db820a5565cc284f6be1ac81cd27d (diff)
downloadhistory-1affe87dce2f8daa0f3c409d629f786b9509a127.tar.gz
[NETFILTER]: Fix ip6tables ESP matching with "-p all"
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/netfilter/ip6_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c
index d4d5c6eb9b76ff..cdf131f32cd1f5 100644
--- a/net/ipv6/netfilter/ip6_tables.c
+++ b/net/ipv6/netfilter/ip6_tables.c
@@ -234,7 +234,7 @@ ip6_packet_match(const struct sk_buff *skb,
* we will change the return 0 to 1*/
if ((currenthdr == IPPROTO_NONE) ||
(currenthdr == IPPROTO_ESP))
- return 0;
+ break;
hp = skb_header_pointer(skb, ptr, sizeof(_hdr), &_hdr);
BUG_ON(hp == NULL);