Re: [PATCH] mac80211: Fix bogus RCU warning from ieee80211_get_tx_rates (Was: Re: rcu)

2013-06-11 Thread Johannes Berg
On Sun, 2013-06-09 at 23:29 -0500, Calvin Owens wrote: > rate_control_fill_sta_table(), whose sole caller is ieee80211_get_tx_rates(), > is guaranteed by mac80211 not to be called concurrently with > rate_control_set_rates() [1], the sole function that touches the rate table > pointer/data in struc

[PATCH] mac80211: Fix bogus RCU warning from ieee80211_get_tx_rates (Was: Re: rcu)

2013-06-09 Thread Calvin Owens
rate_control_fill_sta_table(), whose sole caller is ieee80211_get_tx_rates(), is guaranteed by mac80211 not to be called concurrently with rate_control_set_rates() [1], the sole function that touches the rate table pointer/data in struct ieee80211_sta. The RCU dereference is therefore safe. [1]: S