DragonFly commits List (threaded) for 2010-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Fix boot-time lockup with if_igb
commit f31c01b0b0ac1cd41c49435387577e30c4c5ada8
Author: Matthew Dillon <dillon@apollo.backplane.com>
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(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f31c01b0b0ac1cd41c49435387577e30c4c5ada8
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]