summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjennifer <jennifer@FreeBSD.org>2002-09-17 03:19:43 +0000
committerjennifer <jennifer@FreeBSD.org>2002-09-17 03:19:43 +0000
commite52ed9ae79c6e9db59ad39cc62937208873d5f4c (patch)
treec5e899769417502d4d1ae206f3fec42711a972b4 /sys
parent43aca29e70b9a9b8b20faecb12c290b203b10090 (diff)
downloadFreeBSD-src-e52ed9ae79c6e9db59ad39cc62937208873d5f4c.zip
FreeBSD-src-e52ed9ae79c6e9db59ad39cc62937208873d5f4c.tar.gz
Tempary fix for inet6. The final fix is to change in6_pcbnotify to take pcbinfo instead
of pcbhead. It is on the way.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/tcp_output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index 575f262..845aff8 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -128,7 +128,9 @@ tcp_output(struct tcpcb *tp)
isipv6 = (tp->t_inpcb->inp_vflag & INP_IPV6) != 0;
#endif
+#ifndef INET6
mtx_assert(&tp->t_inpcb->inp_mtx, MA_OWNED);
+#endif
/*
* Determine length of data that should be transmitted,
OpenPOWER on IntegriCloud