DragonFly commits List (threaded) for 2010-12
git: kernel - Fix boot-time lockup with if_igb
Author: Matthew Dillon <firstname.lastname@example.org>
Date: Wed Dec 22 19:35:25 2010 -0800
kernel - Fix boot-time lockup with if_igb
* In DragonFly on return from a call to if_start if
(IFF_RUNNING|IFF_OACTIVE) == IFF_RUNNING the if_start code for the
device is expected to have drained the queue and will be re-called
if it has not.
Add a required ifq_purge() in igb_start_locked() in case where the
adapter's link is not yet active.
* NOTE: In FreeBSD this is not the case, but correctly coding the
driver would probably still be beneficial.
Summary of changes:
sys/dev/netif/e1000/if_igb.c | 35 ++++++++++++++++++++++++++---------
sys/dev/netif/e1000/if_igb.h | 1 +
2 files changed, 27 insertions(+), 9 deletions(-)
DragonFly BSD source repository