WSL2-Linux-Kernel/drivers/net/wireless
Johannes Berg 8bf4039e3e mac80211_hwsim: call ieee80211_tx_prepare_skb under RCU protection
[ Upstream commit 9e2db50f1e ]

This is needed since it might use (and pass out) pointers to
e.g. keys protected by RCU. Can't really happen here as the
frames aren't encrypted, but we need to still adhere to the
rules.

Fixes: cacfddf82b ("mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20220505230421.5f139f9de173.I77ae111a28f7c0e9fd1ebcee7f39dbec5c606770@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-05-18 10:26:49 +02:00
..
admtek
ath ath9k: Fix usage of driver-private space in tx_info 2022-04-20 09:34:19 +02:00
atmel
broadcom brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant 2022-04-27 14:38:56 +02:00
cisco airo: use ndo_siocdevprivate 2021-07-27 20:11:44 +01:00
intel iwlwifi: iwl-dbg: Use del_timer_sync() before freeing 2022-05-18 10:26:47 +02:00
intersil Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
marvell mwifiex: Fix skb_over_panic in mwifiex_usb_recv() 2022-01-27 11:04:31 +01:00
mediatek mt76: Fix undefined behavior due to shift overflowing the constant 2022-04-27 14:38:56 +02:00
microchip wilc1000: fix double free error in probe() 2022-01-27 11:03:41 +01:00
quantenna qtnfmac: switch from 'pci_' to 'dma_' API 2021-08-23 11:56:57 +01:00
ralink rt2x00: do not mark device gone on EPROTO errors during start 2021-12-08 09:04:41 +01:00
realtek rtw88: 8822c: update rx settings to prevent potential hw deadlock 2022-01-27 11:04:46 +01:00
rsi rsi: Fix out-of-bounds read in rsi_read_pkt() 2022-01-27 11:04:32 +01:00
st cw1200: Revert unnecessary patches that fix unreal use-after-free bugs 2021-06-15 16:41:22 +03:00
ti Driver core changes for 5.14-rc1 2021-07-05 13:51:41 -07:00
zydas zd1211rw: Prefer pr_err over printk error msg 2021-06-15 16:37:01 +03:00
Kconfig
Makefile
mac80211_hwsim.c mac80211_hwsim: call ieee80211_tx_prepare_skb under RCU protection 2022-05-18 10:26:49 +02:00
mac80211_hwsim.h
ray_cs.c ray_cs: Check ioremap return value 2022-04-08 14:23:27 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: simplify is_associated() 2021-06-15 16:34:19 +03:00
virt_wifi.c virt_wifi: fix error on connect 2021-07-23 10:34:31 +02:00
wl3501.h wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join 2021-04-22 17:38:41 +03:00
wl3501_cs.c wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join 2021-04-22 17:38:41 +03:00