summaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6_nbr.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-05-16 12:24:05 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-05-16 12:24:05 +0000
commitfa2ab0aee6d1450ee51511397b771d4a94e7ad9f (patch)
treeae79f4d305ee44138be7e15dc90eebd2147d2534 /sys/netinet6/nd6_nbr.c
parent818939ce9098cde48a67023c939d45c1515e5cfc (diff)
Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().
ok visa@
Diffstat (limited to 'sys/netinet6/nd6_nbr.c')
-rw-r--r--sys/netinet6/nd6_nbr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c
index fef9d7e0a93..b44bc83de5d 100644
--- a/sys/netinet6/nd6_nbr.c
+++ b/sys/netinet6/nd6_nbr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6_nbr.c,v 1.115 2017/02/09 15:23:35 jca Exp $ */
+/* $OpenBSD: nd6_nbr.c,v 1.116 2017/05/16 12:24:04 mpi Exp $ */
/* $KAME: nd6_nbr.c,v 1.61 2001/02/10 16:06:14 jinmei Exp $ */
/*
@@ -571,7 +571,7 @@ nd6_na_input(struct mbuf *m, int off, int icmp6len)
union nd_opts ndopts;
char addr[INET6_ADDRSTRLEN], addr0[INET6_ADDRSTRLEN];
- splsoftassert(IPL_SOFTNET);
+ NET_ASSERT_LOCKED();
ifp = if_get(m->m_pkthdr.ph_ifidx);
if (ifp == NULL)
@@ -1099,7 +1099,7 @@ nd6_dad_start(struct ifaddr *ifa)
struct dadq *dp;
char addr[INET6_ADDRSTRLEN];
- splsoftassert(IPL_SOFTNET);
+ NET_ASSERT_LOCKED();
if (!dad_init) {
TAILQ_INIT(&dadq);