aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6/ipsec.c
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>2003-02-24 02:06:50 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>2003-02-24 02:06:50 +0000
commit060958481a27df5de160311ca41da694e93a1d49 (patch)
treef7ac3b407434e474ae286f5754a2eba91f88f0d1 /sys/netinet6/ipsec.c
parent9c3309d174dda72962f1b965cdf33b5c64f65008 (diff)
downloadsrc-060958481a27df5de160311ca41da694e93a1d49.tar.gz
src-060958481a27df5de160311ca41da694e93a1d49.zip
Fix another case for timewait.
Notes
Notes: svn path=/head/; revision=111397
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 500f80b15cef..6587deaaa7cb 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