aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2006-06-02 20:35:39 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2006-06-02 20:35:39 +0000
commitb1e30c4c4e9eeabdac7821699cb92e82e9250815 (patch)
tree7bd9a739100a5a193ba48f7546251cbe0eba8682 /sys
parent1f58dd49568d0022ac0ae357636aa2efa90c12f4 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/netgraph/ng_base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index 4dc58ee0ddff..27b129792a55 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -3581,7 +3581,9 @@ ng_callout_trampoline(void *arg)
{
item_p item = arg;
+ NET_LOCK_GIANT();
ng_snd_item(item, 0);
+ NET_UNLOCK_GIANT();
}