summaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2021-11-25 16:01:11 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2021-12-07 18:13:47 +0000
commit1d640e61358469c17fb0ce340f78104a50b26959 (patch)
treeb6e937f91100d27624c11469e4ebb452fd151f6c /sys/netgraph
parenta8adbe528446352a27e774c7c33bea027e7a7c15 (diff)
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_base.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index ba60acb53502..7f3b103aeaeb 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -2281,7 +2281,7 @@ ng_snd_item(item_p item, int flags)
queue = 1;
} else {
queue = 0;
-#ifdef GET_STACK_USAGE
+
/*
* Most of netgraph nodes have small stack consumption and
* for them 25% of free stack space is more than enough.
@@ -2296,7 +2296,6 @@ ng_snd_item(item_p item, int flags)
((node->nd_flags & NGF_HI_STACK) || (hook &&
(hook->hk_flags & HK_HI_STACK)))))
queue = 1;
-#endif
}
if (queue) {