git: kernel - Fix a case in if_re which could lockup the system

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jan 3 09:20:50 PST 2012


commit 3c7587607776f143f9793ad05356ba5ac0941a0e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jan 3 09:18:28 2012 -0800

    kernel - Fix a case in if_re which could lockup the system
    
    * if_re's re_start function was not always properly setting IFF_OACTIVE
      in situations where packets would be left on the if_snd queue, causing
      if_start_dispatch() to get into an endless message loop.
    
    * Add debugging to device_printf() when the case occurs.

Summary of changes:
 sys/dev/netif/re/if_re.c |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3c7587607776f143f9793ad05356ba5ac0941a0e


-- 
DragonFly BSD source repository





More information about the Commits mailing list