[NETFILTER]: Fix ip6tables ESP matching with "-p all"
Linux Kernel Mailing List <[email protected]> Thu, 03 Mar 2005 23:51:10 +0000
| Newsgroups | gmane.linux.kernel.commits.2-4 |
|---|---|
| Message-ID | <[email protected]> |
ChangeSet 1.1448.114.6, 2005/03/04 00:51:10+01:00, [email protected] [NETFILTER]: Fix ip6tables ESP matching with "-p all" Signed-off-by: Patrick McHardy <[email protected]> ip6_tables.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c --- a/net/ipv6/netfilter/ip6_tables.c 2005-03-25 17:02:51 -08:00 +++ b/net/ipv6/netfilter/ip6_tables.c 2005-03-25 17:02:51 -08:00 @@ -226,7 +226,7 @@ * we will change the return 0 to 1*/ if ((currenthdr == IPPROTO_NONE) || (currenthdr == IPPROTO_ESP)) - return 0; + break; hdrptr = (struct ipv6_opt_hdr *)(skb->data + ptr);