wifi: ath10k: Fixed locking bug when setting bitrates.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | wifi: mac80211: Add non-atomic station iterator.include/ net/ | +48 | 0 replies | |
| 2/2 | wifi: ath10k: Removed atomic iteration in bitrate mask clear.drivers/ | +3 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] wifi: ath10k: Fixed locking bug when setting bitrates.
We have noticed our kernel locking up when attempting to set bitrates in the ath10k. The fault appears to be the sleep calls from sending a wmi command while an RCU read lock is held. The RCU lock seems unnecessary in this case, as we are already holding the wiphy mutex at that point.
We have introduced an iterator for this event - when the wiphy mutex is held and an RCU lock is unnecessary - and used this iterator in the bitrate mask clearing logic.
Rory Little (2):
wifi: mac80211: Add non-atomic station iterator.
wifi: ath10k: Removed atomic iteration in bitrate mask clear.
drivers/net/wireless/ath/ath10k/mac.c | 6 +++--- include/net/mac80211.h | 18 ++++++++++++++++ net/mac80211/util.c | 30 +++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1