linux/drivers/staging
Chengfeng Ye 10e2c63a82 staging: ks7010: disable bh on tx_dev_lock
[ Upstream commit 058cbee52c ]

As &priv->tx_dev.tx_dev_lock is also acquired by xmit callback which
could be call from timer under softirq context, use spin_lock_bh()
on it to prevent potential deadlock.

hostif_sme_work()
--> hostif_sme_set_pmksa()
--> hostif_mib_set_request()
--> ks_wlan_hw_tx()
--> spin_lock(&priv->tx_dev.tx_dev_lock)

ks_wlan_start_xmit()
--> hostif_data_request()
--> ks_wlan_hw_tx()
--> spin_lock(&priv->tx_dev.tx_dev_lock)

Signed-off-by: Chengfeng Ye <dg573847474@gmail.com>
Link: https://lore.kernel.org/r/20230926161323.41928-1-dg573847474@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-04 13:23:22 +02:00
..
android
axis-fifo
board
clocking-wizard clk: clocking-wizard: Fix Oops in clk_wzrd_register_divider() 2023-07-23 13:47:07 +02:00
emxx_udc
fbtft staging: fbtft: core: set smem_len before fb_deferred_io_init call 2024-02-23 08:55:15 +01:00
fieldbus
fwserial
gdm724x net: vlan: introduce skb_vlan_eth_hdr() 2023-12-20 15:17:35 +01:00
greybus greybus: arche-ctrl: move device table to its right location 2024-06-16 13:39:35 +02:00
gs_fpgaboot
iio staging: iio: resolver: ad2s1210: fix use before initialization 2024-09-04 13:23:21 +02:00
ks7010 staging: ks7010: disable bh on tx_dev_lock 2024-09-04 13:23:22 +02:00
media media: atomisp: ssh_css: Fix a null-pointer dereference in load_video_binaries 2024-06-16 13:39:29 +02:00
most
mt7621-dma
mt7621-dts
mt7621-pci
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433
qlge
r8188eu
ralink-gdma
rtl8192e Revert "staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE" 2023-06-14 11:13:10 +02:00
rtl8192u
rtl8712 staging: rtl8712: fix race condition 2023-09-06 21:28:39 +01:00
rtl8723bs
rts5208
sm750fb
unisys
vc04_services staging: vc04_services: fix information leak in create_component() 2024-04-10 16:19:32 +02:00
vme
vt6655
vt6656
wfx
wlan-ng
Kconfig
Makefile