mac80211: avoid using synchronize_rcu in ieee80211_set_probe_resp
authorEyal Shapira <eyal@wizery.com>
Mon, 6 Aug 2012 11:26:16 +0000 (14:26 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Aug 2012 11:20:56 +0000 (13:20 +0200)
commitaa7a00809cf6afe3cd6f5af2889110b47b798667
tree4b2d537fdad3058f61ab0bb894b935afc75442b5
parentf609a43dca2964a8a604ef554be92fa11c3b4c41
mac80211: avoid using synchronize_rcu in ieee80211_set_probe_resp

This could take a while (100ms+) and may delay sending assoc resp
in AP mode with WPS or P2P GO (as setting the probe resp takes place
there). We've encountered situations where the delay was big enough
to cause connection problems with devices like Galaxy Nexus.
Switch to using call_rcu with a free handler.

[Arik - rework to use plain buffer and instead of skb]

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/tx.c
This page took 0.029996 seconds and 5 git commands to generate.