From 5c4b278a9c2a732748764c7b374dc597557b41f7 Mon Sep 17 00:00:00 2001 From: jlemon Date: Mon, 24 Feb 2003 02:06:50 +0000 Subject: Fix another case for timewait. --- sys/netinet6/ipsec.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/netinet6/ipsec.c') 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 -- cgit v1.1