Re: [PATCH 1/2] mac80211: Add rcu read side critical sections

2017-09-19 Thread Ville Syrjälä
On Mon, Sep 18, 2017 at 10:11:17PM +0200, Johannes Berg wrote: > > I got the following lockdep warning about the rcu_dereference()s in > > ieee80211_tx_h_select_key(). After tracing all callers of > > ieee80211_tx_h_select_key() I discovered that > > ieee80211_get_buffered_bc() > > and

Re: [PATCH 1/2] mac80211: Add rcu read side critical sections

2017-09-18 Thread Johannes Berg
> I got the following lockdep warning about the rcu_dereference()s in > ieee80211_tx_h_select_key(). After tracing all callers of > ieee80211_tx_h_select_key() I discovered that > ieee80211_get_buffered_bc() > and ieee80211_build_data_template() had the rcu_read_lock/unlock() > but > three other

[PATCH 1/2] mac80211: Add rcu read side critical sections

2017-09-18 Thread Ville Syrjala
From: Ville Syrjälä I got the following lockdep warning about the rcu_dereference()s in ieee80211_tx_h_select_key(). After tracing all callers of ieee80211_tx_h_select_key() I discovered that ieee80211_get_buffered_bc() and ieee80211_build_data_template() had the