nfe_init() can be called as a side effect of certain ioctl operations with
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 9 Aug 2007 04:24:14 +0000 (04:24 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 9 Aug 2007 04:24:14 +0000 (04:24 +0000)
commit751890abf91e5ac91a57dd6e64724d78988e5fea
tree95e2bf074a8b24bd2417098e62d54539d3e9f156
parent7a246c9e5e82f0fc7aab422e065e832d100f8b00
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