Search Linux Wireless

Re: [PATCH 2/2] wifi: mac80211: use wiphy guard

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

 



On Thu, 2024-11-21 at 20:52 -0800, Jeff Johnson wrote:
> On 11/21/2024 8:27 PM, Jeff Johnson wrote:
> > On 11/21/2024 2:11 PM, Johannes Berg wrote:
> > > From: Johannes Berg <johannes.berg@xxxxxxxxx>
> > > 
> > > The wiphy guard simplifies some code here, so use it.
> > > 
> > > Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
> > Reviewed-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
> > 
> > 
> > Now we just need guard(rtnl) :)
> 
> wrote before I looked, it already exists...
> 
> DEFINE_LOCK_GUARD_0(rtnl, rtnl_lock(), rtnl_unlock())
> 
Actually, now that I see that I added it ... I did it exactly because of
this, but looks like it was removed again for some reason.

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