linux_dsm_epyc7002/drivers/net/wireless
Dan Carpenter 191f1aeeb9 ath9k_htc: memory corruption calling set_bit()
In d8a2c51cdc ('ath9k_htc: Use atomic operations for op_flags') we
changed things like this:

-	if (priv->op_flags & OP_TSF_RESET) {
+	if (test_bit(OP_TSF_RESET, &priv->op_flags)) {

The problem is that test_bit() takes a bit number and not a mask.  It
means that when we do:

	set_bit(OP_TSF_RESET, &priv->op_flags);

Then it sets the (1 << 6) bit instead of the 6 bit so we are setting a
bit which is past the end of the unsigned long.

Fixes: d8a2c51cdc ('ath9k_htc: Use atomic operations for op_flags')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-05-26 13:54:23 +03:00
..
ath ath9k_htc: memory corruption calling set_bit() 2015-05-26 13:54:23 +03:00
b43 mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
b43legacy mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
brcm80211 brcmfmac: avoid gcc-5.1 warning 2015-05-26 13:53:48 +03:00
cw1200 mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
hostap wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
ipw2x00 Lots of updates for net-next; along with the usual flurry 2015-03-31 16:39:04 -04:00
iwlegacy mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
iwlwifi ath10k: 2015-05-24 23:23:01 -04:00
libertas Lots of updates for net-next; along with the usual flurry 2015-03-31 16:39:04 -04:00
libertas_tf mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
mwifiex mwifiex: change dbg print func to mwifiex_dbg 2015-05-26 13:50:42 +03:00
orinoco Lots of updates for net-next; along with the usual flurry 2015-03-31 16:39:04 -04:00
p54 mac80211: make LED trigger names const 2015-05-05 14:21:55 +02:00
prism54
rsi
rt2x00 mac80211: extend get_tkip_seq to all keys 2015-05-06 13:29:59 +02:00
rtl818x
rtlwifi rtlwifi: btcoexist: Fix interference between rtl8723be and Bluetooth 2015-05-26 13:48:16 +03:00
ti ath10k: 2015-05-24 23:23:01 -04:00
zd1211rw mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
adm8211.c adm8211: fixed the possible pci cache line sizes inside switch-case 2015-05-26 13:47:36 +03:00
adm8211.h
airo_cs.c
airo.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2015-04-15 09:00:47 -07:00
airo.h
at76c50x-usb.c wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
at76c50x-usb.h mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
atmel_cs.c
atmel_pci.c
atmel.c wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
atmel.h
Kconfig
mac80211_hwsim.c mac80211_hwsim: Fix the supported VHT mcs rates 2015-05-06 14:51:27 +02:00
mac80211_hwsim.h
Makefile
mwl8k.c mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
ray_cs.c wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
ray_cs.h
rayctl.h
rndis_wlan.c wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h