svn commit: r356970 - head/sys/netinet
Gleb Smirnoff
glebius at FreeBSD.org
Wed Jan 22 02:38:47 UTC 2020
Author: glebius
Date: Wed Jan 22 02:38:46 2020
New Revision: 356970
URL: https://svnweb.freebsd.org/changeset/base/356970
Log:
Add documenting NET_EPOCH_ASSERT() to tcp_drop().
Modified:
head/sys/netinet/tcp_subr.c
Modified: head/sys/netinet/tcp_subr.c
==============================================================================
--- head/sys/netinet/tcp_subr.c Wed Jan 22 02:37:47 2020 (r356969)
+++ head/sys/netinet/tcp_subr.c Wed Jan 22 02:38:46 2020 (r356970)
@@ -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);
More information about the svn-src-all
mailing list