Search Linux Wireless

[PATCH 0/2] wifi: ath10k: Fixed locking bug when setting bitrates.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.34.1





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux