kernel - Fix a case in if_re which could lockup the system
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 3 Jan 2012 17:18:28 +0000 (09:18 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 3 Jan 2012 17:18:28 +0000 (09:18 -0800)
commit3c7587607776f143f9793ad05356ba5ac0941a0e
treea31cf6f6898328178f703e79aed2de32f9110820
parente43987e0d95a259c9e35a3d70b8875d290b89af6
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.
sys/dev/netif/re/if_re.c