On Fri, Apr 17, 2015 at 6:15 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > In order to speed up mac80211's TX path, add the "fast-xmit" cache > that will cache the data frame 802.11 header and other data to be > able to build the frame more quickly. This cache is rebuilt when > external triggers imply changes, but a lot of the checks done per > packet today are simplified away to the check for the cache. > > There's also a more detailed description in the code. > > Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> > --- [...] > + build.key = rcu_access_pointer(sta->ptk[sta->ptk_idx]); > + if (!build.key) > + build.key = rcu_access_pointer(sdata->default_unicast_key); don't you need rcu_dereference here? (and you don't seem to be inside rcu section here) Eliad. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html