nfe_init() can be called as a side effect of certain ioctl operations with
commit92538816c9a17fe90df0e8c214ffefbd010d598e
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 9 Aug 2007 04:24:14 +0000 (9 04:24 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 9 Aug 2007 04:24:14 +0000 (9 04:24 +0000)
tree8683b606774f1f34b259e0434a743b13508b69d4
parent60e7cbe7738a8cfb8d14b7243a7d26ff238e1881
nfe_init() can be called as a side effect of certain ioctl operations with
packet data still queued.  The queue must be restarted since the reinit
will clean out the rings and clear any pending interrupts.

This fixes watchdog timeouts which can occur while dhclient is probing
the network.
sys/dev/netif/nfe/if_nfe.c