git: kernel - Fix boot-time lockup with if_igb

Matthew Dillon dillon at
Wed Dec 22 19:40:49 PST 2010

commit f31c01b0b0ac1cd41c49435387577e30c4c5ada8
Author: Matthew Dillon <dillon at>
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

More information about the Commits mailing list