diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-05-16 12:24:05 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-05-16 12:24:05 +0000 |
commit | fa2ab0aee6d1450ee51511397b771d4a94e7ad9f (patch) | |
tree | ae79f4d305ee44138be7e15dc90eebd2147d2534 /sys/netinet/igmp.c | |
parent | 818939ce9098cde48a67023c939d45c1515e5cfc (diff) |
Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().
ok visa@
Diffstat (limited to 'sys/netinet/igmp.c')
-rw-r--r-- | sys/netinet/igmp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c index 12b9561b0ec..ed7bba46a7d 100644 --- a/sys/netinet/igmp.c +++ b/sys/netinet/igmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: igmp.c,v 1.67 2017/05/04 17:58:46 bluhm Exp $ */ +/* $OpenBSD: igmp.c,v 1.68 2017/05/16 12:24:01 mpi Exp $ */ /* $NetBSD: igmp.c,v 1.15 1996/02/13 23:41:25 christos Exp $ */ /* @@ -550,7 +550,7 @@ igmp_fasttimo(void) { struct ifnet *ifp; - splsoftassert(IPL_SOFTNET); + NET_ASSERT_LOCKED(); /* * Quick check to see if any work needs to be done, in order @@ -571,7 +571,7 @@ igmp_checktimer(struct ifnet *ifp) struct in_multi *inm; struct ifmaddr *ifma; - splsoftassert(IPL_SOFTNET); + NET_ASSERT_LOCKED(); TAILQ_FOREACH(ifma, &ifp->if_maddrlist, ifma_list) { if (ifma->ifma_addr->sa_family != AF_INET) @@ -600,7 +600,7 @@ igmp_slowtimo(void) { struct router_info *rti; - splsoftassert(IPL_SOFTNET); + NET_ASSERT_LOCKED(); for (rti = rti_head; rti != 0; rti = rti->rti_next) { if (rti->rti_type == IGMP_v1_ROUTER && |