linux/drivers/net/wireless/nxp/nxpwifi
David Carlier 5e99bdb947 wifi: nxpwifi: do not delete Rx reorder entries under RCU
The RCU guard is declared in the body of the per-TID loop, so it is still
held across the teardown pass. nxpwifi_del_rx_reorder_entry() flushes the
Rx workqueue and deletes the reorder timer synchronously, both of which
sleep, so a station deauthenticating from the AP splats under
CONFIG_DEBUG_ATOMIC_SLEEP.

Scope the guard to the collection walk. The teardown does not need RCU: it
serialises on priv->rx_reorder_tbl_lock[] and frees with kfree_rcu().

Fixes: 73b01e57ed ("wifi: nxp: add nxpwifi driver for IW61x")
Assisted-by: Claude:claude-opus-5
Signed-off-by: David Carlier <devnexen@gmail.com>
Signed-off-by: Jeff Chen <jeff.chen_1@nxp.com>
2026-10-06 21:13:54 +08:00
..
11ac.c
11ac.h
11ax.c wifi: nxpwifi: fix multiple static analysis errors and warnings 2026-08-06 14:03:15 +02:00
11ax.h
11h.c
11n_aggr.c wifi: nxpwifi: free the aggregation buffer when the RA list disappears 2026-10-06 21:13:54 +08:00
11n_aggr.h
11n_rxreorder.c wifi: nxpwifi: do not delete Rx reorder entries under RCU 2026-10-06 21:13:54 +08:00
11n_rxreorder.h
11n.c wifi: nxpwifi: fix inverted check in Tx BA stream entry deletion 2026-10-06 21:13:54 +08:00
11n.h
cfg.h
cfg80211.c wifi: nxpwifi: handle authentication frame allocation failures 2026-10-06 21:13:54 +08:00
cfg80211.h
cfp.c
cmdevt.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
cmdevt.h
debugfs.c
ethtool.c
fw.h
ie.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
init.c wifi: nxpwifi: wait for the wakeup timer before the adapter is freed 2026-10-06 21:13:54 +08:00
join.c
Kconfig wifi: nxp: NXPWIFI should be invisible and selected by its users 2026-08-06 14:00:47 +02:00
main.c wifi: nxpwifi: zero the channel statistics array 2026-10-06 21:13:54 +08:00
main.h wifi: nxpwifi: fix multiple static analysis errors and warnings 2026-08-06 14:03:15 +02:00
Makefile
scan.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
sdio.c wifi: nxpwifi: fix multiple static analysis errors and warnings 2026-08-06 14:03:15 +02:00
sdio.h
sta_cfg.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
sta_cmd.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
sta_event.c
sta_rx.c
sta_tx.c
txrx.c
uap_cmd.c
uap_event.c wifi: nxpwifi: delete the station entry on the uAP deauth event 2026-10-06 21:13:54 +08:00
uap_txrx.c wifi: nxpwifi: fix multiple static analysis errors and warnings 2026-08-06 14:03:15 +02:00
util.c wifi: nxpwifi: protect sta_list against concurrent add and delete 2026-10-06 21:13:54 +08:00
util.h
wmm.c
wmm.h