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/net/pf_if.c | |
parent | 818939ce9098cde48a67023c939d45c1515e5cfc (diff) |
Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().
ok visa@
Diffstat (limited to 'sys/net/pf_if.c')
-rw-r--r-- | sys/net/pf_if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_if.c b/sys/net/pf_if.c index 5069e85519a..c2538cece2d 100644 --- a/sys/net/pf_if.c +++ b/sys/net/pf_if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_if.c,v 1.89 2017/01/24 10:08:30 krw Exp $ */ +/* $OpenBSD: pf_if.c,v 1.90 2017/05/16 12:24:01 mpi Exp $ */ /* * Copyright 2005 Henning Brauer <henning@openbsd.org> @@ -594,7 +594,7 @@ pfi_kifaddr_update(void *v) { struct pfi_kif *kif = (struct pfi_kif *)v; - splsoftassert(IPL_SOFTNET); + NET_ASSERT_LOCKED(); pfi_update++; pfi_kif_update(kif); |