summaryrefslogtreecommitdiff
path: root/sys/net/pf_if.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/net/pf_if.c
parent818939ce9098cde48a67023c939d45c1515e5cfc (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.c4
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);