summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_iface.c
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2008-07-08 18:21:44 +0000
committergonzo <gonzo@FreeBSD.org>2008-07-08 18:21:44 +0000
commit2d2c0669861c1461f6afa4e816ec9902ac23f402 (patch)
tree518e3562dc662b16ea86a45f5e93bc0a5f56f4c8 /sys/netgraph/ng_iface.c
parent1547b99716941b9b7d256bef62d3fa4955880949 (diff)
downloadFreeBSD-src-2d2c0669861c1461f6afa4e816ec9902ac23f402.zip
FreeBSD-src-2d2c0669861c1461f6afa4e816ec9902ac23f402.tar.gz
Queue decapsulated packed instead of performing direct dispatch. Some
execution pathes might hit stack limit under certain circumstances (e.g. ng_mppc). PR: kern/125314 Reported by: Illya Klymov <ilia dot klimov at gmail dot com>
Diffstat (limited to 'sys/netgraph/ng_iface.c')
-rw-r--r--sys/netgraph/ng_iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_iface.c b/sys/netgraph/ng_iface.c
index fec2432..8c3a3cf 100644
--- a/sys/netgraph/ng_iface.c
+++ b/sys/netgraph/ng_iface.c
@@ -755,7 +755,7 @@ ng_iface_rcvdata(hook_p hook, item_p item)
/* First chunk of an mbuf contains good junk */
if (harvest.point_to_point)
random_harvest(m, 16, 3, 0, RANDOM_NET);
- netisr_dispatch(isr, m);
+ netisr_queue(isr, m);
return (0);
}
OpenPOWER on IntegriCloud