]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb87e95eec3ee8def3b531d7e18e697d5625c0bc
tree4b2d537fdad3058f61ab0bb894b935afc75442b5
parent7ec76cf56c03af5d1789451a7de1ca6af547e3a6
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