diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2009-08-01 22:32:48 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-04 16:44:24 -0400 |
commit | c1be5152860218dffea6a47cff5ea31a56c6cff5 (patch) | |
tree | cd903db6abd58139b8b0628cbeabf5e0a83d9a9f /drivers/pci/slot.c | |
parent | 3ad201496badddd8e1cda87ee6d29e8b3b8e1279 (diff) | |
download | linux-c1be5152860218dffea6a47cff5ea31a56c6cff5.tar.bz2 |
b43legacy: 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
b43legacy does not crash when this condition occurs, it does generate a WARN_ON
and also logs a queue overrun message. This patch recognizes b43legacy 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.
This patch is based on the one used by b43.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/pci/slot.c')
0 files changed, 0 insertions, 0 deletions