aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_base.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2005-02-12 09:52:36 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2005-02-12 09:52:36 +0000
commit687809752d5bcdca8cc6e0eee77be1f558e2e853 (patch)
tree185ddc303e22964a7a027edff3c8d83201749189 /sys/netgraph/ng_base.c
parent610b5a1fb1076cc591ceda87680d1caf69564def (diff)
Notes
Diffstat (limited to 'sys/netgraph/ng_base.c')
-rw-r--r--sys/netgraph/ng_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index 9d35414e016ac..a0ec21ea6f7b3 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -2973,8 +2973,8 @@ ngb_mod_event(module_t mod, int event, void *data)
mtx_init(&ngq_mtx, "netgraph free item list mutex", NULL,
MTX_DEF);
s = splimp();
- /* XXX could use NETISR_MPSAFE but need to verify code */
- netisr_register(NETISR_NETGRAPH, (netisr_t *)ngintr, NULL, 0);
+ netisr_register(NETISR_NETGRAPH, (netisr_t *)ngintr, NULL,
+ NETISR_MPSAFE);
splx(s);
break;
case MOD_UNLOAD: