All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.4 6/8]: Fix ip6tables ESP matching with "-p all"
@ 2005-03-04 12:18 Patrick McHardy
  0 siblings, 0 replies; only message in thread
From: Patrick McHardy @ 2005-03-04 12:18 UTC (permalink / raw)
  To: David S. Miller; +Cc: Netfilter Development Mailinglist

[-- Attachment #1: 06.diff --]
[-- Type: text/x-patch, Size: 891 bytes --]

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/03/04 00:51:10+01:00 kaber@coreworks.de 
#   [NETFILTER]: Fix ip6tables ESP matching with "-p all"
#   
#   Signed-off-by: Patrick McHardy <kaber@trash.net>
# 
# net/ipv6/netfilter/ip6_tables.c
#   2005/03/04 00:51:08+01:00 kaber@coreworks.de +1 -1
#   [NETFILTER]: Fix ip6tables ESP matching with "-p all"
#   
#   Signed-off-by: Patrick McHardy <kaber@trash.net>
# 
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);
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-04 12:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-04 12:18 [PATCH 2.4 6/8]: Fix ip6tables ESP matching with "-p all" Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.