1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

replace mtx_assert by INP_LOCK_ASSERT

Supported by:	FreeBSD Foundation
This commit is contained in:
Sam Leffler 2003-11-08 22:55:52 +00:00
parent 50d7c061a3
commit fa286d7db2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122325

View File

@ -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,