Search Linux Wireless

Re: [PATCH 2/3] mac80211: refactor some key code

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

 



On Thu, 2022-05-19 at 18:07 +0200, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@xxxxxxxxx>
> 
> There's some pretty close code here, with the exception
> of RCU dereference vs. protected dereference. Refactor
> this to just return a pointer and then do the deref in
> the caller later.
> 

Or maybe I shouldn't do the double pointering but rather use RCU
accessors that can do both (with rcu_dereference_check()) ...

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