: Fix ip6tables ESP matching with "-p all"
PATCH 6/8 : Fix ip6tables ESP matching with "-p all"
# This is a BitKeeper generated diff -Nru style patch. #
# ChangeSet
# 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]>
#
# net/ipv6/netfilter/ip6_tables.c # 2005/03/04 00:51:08+01:00 [email protected] +1 -1 # [NETFILTER]: Fix ip6tables ESP matching with "-p all" # # Signed-off-by: Patrick McHardy <[email protected]> # 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-04 01:52:07 +01:00 +++ b/net/ipv6/netfilter/ip6_tables.c 2005-03-04 01:52:07 +01: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);