summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_ifattach.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/in6_ifattach.c
parent818939ce9098cde48a67023c939d45c1515e5cfc (diff)
Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().
ok visa@
Diffstat (limited to 'sys/netinet6/in6_ifattach.c')
-rw-r--r--sys/netinet6/in6_ifattach.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c
index 8ebd35026f0..fad1eb130b6 100644
--- a/sys/netinet6/in6_ifattach.c
+++ b/sys/netinet6/in6_ifattach.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_ifattach.c,v 1.101 2016/12/29 12:17:22 mpi Exp $ */
+/* $OpenBSD: in6_ifattach.c,v 1.102 2017/05/16 12:24:02 mpi Exp $ */
/* $KAME: in6_ifattach.c,v 1.124 2001/07/18 08:32:51 jinmei Exp $ */
/*
@@ -296,7 +296,7 @@ in6_ifattach_linklocal(struct ifnet *ifp, struct in6_addr *ifid)
struct in6_ifaddr *ia6;
int error, flags;
- splsoftassert(IPL_SOFTNET);
+ NET_ASSERT_LOCKED();
/*
* configure link-local address.