diff options
author | jennifer <jennifer@FreeBSD.org> | 2002-09-17 03:19:43 +0000 |
---|---|---|
committer | jennifer <jennifer@FreeBSD.org> | 2002-09-17 03:19:43 +0000 |
commit | e52ed9ae79c6e9db59ad39cc62937208873d5f4c (patch) | |
tree | c5e899769417502d4d1ae206f3fec42711a972b4 /sys | |
parent | 43aca29e70b9a9b8b20faecb12c290b203b10090 (diff) | |
download | FreeBSD-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.c | 2 |
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, |