Mark ng_ether node hooks as HI_STACK. It is usually the last point when

netgraph may unroll the call stack, and I have found that in some cases 2K
guarantied there for i386 may be not enough for NIC driver and BPF.
This commit is contained in:
Alexander Motin 2009-06-23 12:30:21 +00:00
parent 401679debe
commit c1b8a9edab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194699

View File

@ -435,7 +435,7 @@ ng_ether_newhook(node_p node, hook_p hook, const char *name)
/* Disable hardware checksums while 'upper' hook is connected */
if (hookptr == &priv->upper)
priv->ifp->if_hwassist = 0;
NG_HOOK_HI_STACK(hook);
/* OK */
*hookptr = hook;
return (0);