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:
parent
401679debe
commit
c1b8a9edab
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user