Search Linux Wireless

Re: [RFC v2] ath11k: fix blocked for more than 120 seconds caused by reg update

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

 



On 7/12/2022 1:54 AM, Abhishek Kumar wrote:
This change will make the device come out of deadlock on rtnl_lock if
that happens. Did you think of ways to completely avoid the race
situation to occur ?

Thanks
Abhishek

You can see the commit log, if to completely avoid the race situation to occur,

then it need to change the rtnl_lock usage in many place in cfg80211/mac80211.

it will effect a lot things.


It has a change as below to reduce usage of rtnl_lock, but it does not remove the rtnl_lock in ath11k.

cfg80211: avoid holding the RTNL when calling the driver

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/drivers/net/wireless/ath/ath11k/reg.c?id=a05829a7222e9d10c416dd2dbbf3929fe6646b89


On Fri, Jul 1, 2022 at 12:29 AM Wen Gong <quic_wgong@xxxxxxxxxxx> wrote:
...



[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