Add missing ether_poll_deregister(). This is still not enough to
kldunload/kldload without a panic. The same (but worse) problem is also present in ixgb(4).
This commit is contained in:
parent
01122e2ae0
commit
b34b221d77
@ -1714,6 +1714,9 @@ em_stop(void *arg)
|
||||
mtx_assert(&adapter->mtx, MA_OWNED);
|
||||
|
||||
INIT_DEBUGOUT("em_stop: begin");
|
||||
#ifdef DEVICE_POLLING
|
||||
ether_poll_deregister(ifp);
|
||||
#endif
|
||||
em_disable_intr(adapter);
|
||||
em_reset_hw(&adapter->hw);
|
||||
callout_stop(&adapter->timer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user