diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2003-11-08 22:55:52 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2003-11-08 22:55:52 +0000 |
| commit | fa286d7db2479f0ba7ca84f97af8c9bee7f94c44 (patch) | |
| tree | e647bc952a199f78f89e9ad8954ea2cf7a3b1df0 | |
| parent | 50d7c061a30b6dcb511df11c835efae96a4adc1a (diff) | |
Notes
| -rw-r--r-- | sys/netinet/tcp_output.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index 9270402e2f49..a48ec4a91423 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -133,9 +133,7 @@ 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 + INP_LOCK_ASSERT(tp->t_inpcb); /* * Determine length of data that should be transmitted, |
