summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-07-27 16:21:10 +0000
committerume <ume@FreeBSD.org>2003-07-27 16:21:10 +0000
commit21fd4ebaa68dc80773ca74cb6c33b1646eb89843 (patch)
treef60cba7e92a936ba79653445c7ba61f0a09adb61 /sys
parent6b3d53035396197bc0d608e72a19c6b7f9797c7b (diff)
downloadFreeBSD-src-21fd4ebaa68dc80773ca74cb6c33b1646eb89843.zip
FreeBSD-src-21fd4ebaa68dc80773ca74cb6c33b1646eb89843.tar.gz
ip6fw does not handle ESP correctly
PR: kern/54874 Submitted by: JINMEI Tatuya <jinmei@shuttle.wide.toshiba.co.jp> MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet6/ip6_fw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet6/ip6_fw.c b/sys/netinet6/ip6_fw.c
index 0ef2c52..e35f494 100644
--- a/sys/netinet6/ip6_fw.c
+++ b/sys/netinet6/ip6_fw.c
@@ -290,6 +290,7 @@ ip6opts_match(struct ip6_hdr **pip6, struct ip6_fw *f, struct mbuf **m,
case IPPROTO_ESP:
opts &= ~IPV6_FW_IP6OPT_ESP;
nopts &= ~IPV6_FW_IP6OPT_ESP;
+ goto opts_check;
break;
case IPPROTO_NONE:
opts &= ~IPV6_FW_IP6OPT_NONXT;
OpenPOWER on IntegriCloud