Add documenting NET_EPOCH_ASSERT() to tcp_drop().

This commit is contained in:
Gleb Smirnoff 2020-01-22 02:38:46 +00:00
parent bab98355f9
commit 0452a1f3ef

View File

@ -1871,6 +1871,7 @@ tcp_drop(struct tcpcb *tp, int errno)
{
struct socket *so = tp->t_inpcb->inp_socket;
NET_EPOCH_ASSERT();
INP_INFO_LOCK_ASSERT(&V_tcbinfo);
INP_WLOCK_ASSERT(tp->t_inpcb);