1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-07 13:14:51 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356970

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);