WSL2-Linux-Kernel/drivers
Lorenzo Bianconi 7540184942 ath9k: fix an issue in ath_atx_tid paused flag management
I noticed a possible issue in the paused flag management of the
ath_atx_tid data structure. In particular, in a noisy environment and
under heavy load, I observed that the AGGR session establishment could
fail several times consecutively causing values of the paused flag
greater than one for this TID (ath_tx_pause_tid is called more than
once from ath_tx_aggr_start).

Considering that the session for this TID can not be established also
after the mac80211 stack calls the ieee80211_agg_tx_operational() since
the ath_tx_aggr_resume() lowers the paused flag only by one.

This patch also replaces some BUG_ON calls with WARN_ON, as even if
these unlikely conditions happen, it's not fatal enough to justify a
BUG_ON.

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-08-04 15:27:38 -04:00
..
accessibility
acpi
amba
ata
atm drivers: atm: don't use private copy of hex_to_bin() 2010-07-23 12:50:49 -07:00
auxdisplay
base device.h drivers/base/core.c Convert dev_<level> logging macros to functions 2010-07-04 10:40:17 -07:00
block
bluetooth Bluetooth: Fix kfree() => kfree_skb() in hci_ath.c 2010-07-27 15:27:45 -07:00
cdrom
char
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac
eisa
firewire
firmware
gpio
gpu
hid
hwmon
i2c
ide
idle
ieee1394
ieee802154
infiniband IB/{nes, ipoib}: Pass supported flags to ethtool_op_set_flags() 2010-07-04 11:48:14 -07:00
input
isdn drivers: isdn: get rid of custom strtoul() 2010-07-15 19:05:25 -07:00
leds
lguest
macintosh
mca
md
media
memstick
message
mfd
misc
mmc
mtd
net ath9k: fix an issue in ath_atx_tid paused flag management 2010-08-04 15:27:38 -04:00
nubus
of
oprofile
parisc net: fix 64 bit counters on 32 bit arches 2010-07-07 14:58:56 -07:00
parport
pci
pcmcia
platform
pnp
power
pps
ps3
rapidio
regulator
rtc
s390 qeth: avoid useless removal of multicast addresses 2010-07-23 12:36:25 -07:00
sbus
scsi net: fix 64 bit counters on 32 bit arches 2010-07-07 14:58:56 -07:00
serial pcnet_cs: add new id (TOSHIBA Modem/LAN Card) 2010-06-16 18:10:54 -07:00
sfi
sh
sn
spi
ssb
staging net: preserve ifreq parameter when calling generic phy_mii_ioctl(). 2010-07-18 19:15:25 -07:00
tc
telephony
thermal
uio
usb usb/atm/ueagle-atm.c: call atm_dev_signal_change() when signal changes. 2010-07-09 00:09:24 -07:00
uwb
vhost vhost-net: mergeable buffers support 2010-07-28 15:45:36 +03:00
video
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile