Date: Wed, 22 Jan 2020 02:38:46 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r356970 - head/sys/netinet Message-ID: <202001220238.00M2ckMH098336@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001220238.00M2ckMH098336>