diff options
| author | 2017-05-16 12:24:01 +0000 | |
|---|---|---|
| committer | 2017-05-16 12:24:01 +0000 | |
| commit | 66736630cee42b00f38c44e0b154c35b7ac24eca (patch) | |
| tree | 83ed1b4834be42ab64e887f18456be7d7163f9c2 /sys/netinet/tcp_usrreq.c | |
| parent | Remove list member now that the global list is gone. (diff) | |
| download | wireguard-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.c | 4 |
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) |
