summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ipsec.c
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2003-02-24 02:06:50 +0000
committerjlemon <jlemon@FreeBSD.org>2003-02-24 02:06:50 +0000
commit5c4b278a9c2a732748764c7b374dc597557b41f7 (patch)
treef7ac3b407434e474ae286f5754a2eba91f88f0d1 /sys/netinet6/ipsec.c
parent17b1f4c5267869fc15cf243a9f2590aee40aa55a (diff)
downloadFreeBSD-src-5c4b278a9c2a732748764c7b374dc597557b41f7.zip
FreeBSD-src-5c4b278a9c2a732748764c7b374dc597557b41f7.tar.gz
Fix another case for timewait.
Diffstat (limited to 'sys/netinet6/ipsec.c')
-rw-r--r--sys/netinet6/ipsec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet6/ipsec.c b/sys/netinet6/ipsec.c
index 500f80b..6587dea 100644
--- a/sys/netinet6/ipsec.c
+++ b/sys/netinet6/ipsec.c
@@ -1883,8 +1883,11 @@ ipsec4_hdrsiz(m, dir, inp)
/* sanity check */
if (m == NULL)
return 0; /* XXX should be panic ? */
+#if 0
+ /* this is possible in TIME_WAIT state */
if (inp != NULL && inp->inp_socket == NULL)
panic("ipsec4_hdrsize: why is socket NULL but there is PCB.");
+#endif
/* get SP for this packet.
* When we are called from ip_forward(), we call
OpenPOWER on IntegriCloud