Search Linux Wireless

Re: [PATCH v2 8/9] wifi: mac80211: handle ieee80211_radar_detected() for MLO

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

 



On Tue, 2024-07-09 at 14:24 +0530, Aditya Kumar Singh wrote:
> 
> So, I was trying as discussed above but I see concurrency issue now.
> 
> In order to mark or let's say to iterate over *all* ctxs (in case NULL 
> is passed by driver), that part of code ideally should be under wiphy 
> lock right? But ieee80211_radar_detected() is called in an interrupt 
> context. Hence, can not take wiphy lock there :(

Not necessarily, ieee80211_iter_chan_contexts_atomic() also iterates
with RCU protection, for example.

johannes





[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