summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-05-16 12:24:01 +0000
committermpi <mpi@openbsd.org>2017-05-16 12:24:01 +0000
commit66736630cee42b00f38c44e0b154c35b7ac24eca (patch)
tree83ed1b4834be42ab64e887f18456be7d7163f9c2 /sys/netinet/tcp_usrreq.c
parentRemove list member now that the global list is gone. (diff)
downloadwireguard-openbsd-66736630cee42b00f38c44e0b154c35b7ac24eca.tar.xz
wireguard-openbsd-66736630cee42b00f38c44e0b154c35b7ac24eca.zip
Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().
ok visa@
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r--sys/netinet/tcp_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 1ac6d1322f4..c3ab8a2e67b 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_usrreq.c,v 1.149 2017/05/13 17:41:57 bluhm Exp $ */
+/* $OpenBSD: tcp_usrreq.c,v 1.150 2017/05/16 12:24:02 mpi Exp $ */
/* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */
/*
@@ -734,7 +734,7 @@ tcp_ident(void *oldp, size_t *oldlenp, void *newp, size_t newlen, int dodrop)
struct in6_addr f6, l6;
#endif
- splsoftassert(IPL_SOFTNET);
+ NET_ASSERT_LOCKED();
if (dodrop) {
if (oldp != NULL || *oldlenp != 0)