Assert that the inpcb lock is held when calling tcp_output().
Approved by: hsu
This commit is contained in:
parent
7ba28492c5
commit
3d6ade3a03
@ -128,6 +128,8 @@ tcp_output(struct tcpcb *tp)
|
||||
isipv6 = (tp->t_inpcb->inp_vflag & INP_IPV6) != 0;
|
||||
#endif
|
||||
|
||||
mtx_assert(&tp->t_inpcb->inp_mtx, MA_OWNED);
|
||||
|
||||
/*
|
||||
* Determine length of data that should be transmitted,
|
||||
* and flags that will be used.
|
||||
|
Loading…
Reference in New Issue
Block a user