summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hill <dhill@cvs.openbsd.org>2008-10-10 15:36:00 +0000
committerDavid Hill <dhill@cvs.openbsd.org>2008-10-10 15:36:00 +0000
commitaab2236a868b537fb1bc6731c4544415f560f5d1 (patch)
treeeb1da3c37a1d6577673d4f8b48efbcd423b36dc5
parent9c7cc8d15233c2301c337dfdcb31f2636d94b93f (diff)
Comment out statekey code to stop 'panic: soreceive 3', which
happens with IPv6 TCP traffic, until a better fix is found. patch from henning@ proded by deraadt@
-rw-r--r--sys/netinet/tcp_input.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 331e13ec05e..f0c0a32bd23 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.221 2008/09/09 15:26:12 mpf Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.222 2008/10/10 15:35:59 dhill Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -594,10 +594,12 @@ tcp_input(struct mbuf *m, ...)
/*
* Locate pcb for segment.
*/
+/*
#if NPF > 0
if (m->m_pkthdr.pf.statekey)
inp = ((struct pf_state_key *)m->m_pkthdr.pf.statekey)->inp;
#endif
+*/
findpcb:
if (inp == NULL) {
switch (af) {