linux-kernel-test/drivers/net/wireless/b43
Larry Finger 18c6951091 b43: Work around mac80211 race condition
As shown in http://thread.gmane.org/gmane.linux.kernel.wireless.general/36497,
mac80211 has a bug that allows a call to the TX routine after the queues have
been stopped. This situation will only occur under extreme stress. Although
b43 does not crash when this condition occurs, it does generate a WARN_ON and
also logs a queue overrun message. This patch recognizes b43 is not at fault
and logs a message only when the most verbose debugging mode is enabled. In
the unlikely event that the queue is not stopped when the DMA queue becomes
full, then a warning is issued.

During testing of this patch with one output stream running repeated tcpperf
writes and a second running a flood ping, this routine was entered with
the DMA ring stopped about once per hour. The condition where the DMA queue is
full but the ring has not been stopped has never been seen by me.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-08-04 16:43:26 -04:00
..
b43.h b43/b43legacy: fix radio LED initialization 2009-07-07 12:55:26 -04:00
debugfs.c
debugfs.h
dma.c b43: Work around mac80211 race condition 2009-08-04 16:43:26 -04:00
dma.h
Kconfig b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
leds.c b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
leds.h
lo.c
lo.h
main.c wireless: remove print_mac uses 2009-07-24 15:05:19 -04:00
main.h b43: Add fw capabilities 2009-06-10 13:28:37 -04:00
Makefile b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
pcmcia.c b43: Add support for 4318E 2009-07-08 15:24:24 -04:00
pcmcia.h
phy_a.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
phy_a.h
phy_common.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
phy_common.h b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
phy_g.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
phy_g.h
phy_lp.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
phy_lp.h
phy_n.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
phy_n.h
pio.c b43: Add fw capabilities 2009-06-10 13:28:37 -04:00
pio.h
rfkill.c b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
rfkill.h b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
sysfs.c
sysfs.h
tables_lpphy.c
tables_lpphy.h
tables_nphy.c
tables_nphy.h
tables.c
tables.h
wa.c
wa.h
xmit.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
xmit.h