summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-07-19 17:52:59 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-07-20 21:55:12 +0200
commit06ee1c261360545c97fd836fff9dbd10ebd9301b (patch)
tree21a144e09d83db9afb374f4a331aea6c4dec15a8
parentrt2x00: Fix lockdep warning in rt2x00lib_probe_dev() (diff)
downloadlinux-06ee1c261360545c97fd836fff9dbd10ebd9301b.tar.xz
linux-06ee1c261360545c97fd836fff9dbd10ebd9301b.zip
wireless: use netif_rx_ni in ieee80211_send_layer2_update
These synthetic frames are all triggered from userland requests in process context. https://bugzilla.kernel.org/show_bug.cgi?id=16412 Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index c7000a6ca379..67ee34f57df7 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -632,7 +632,7 @@ static void ieee80211_send_layer2_update(struct sta_info *sta)
skb->dev = sta->sdata->dev;
skb->protocol = eth_type_trans(skb, sta->sdata->dev);
memset(skb->cb, 0, sizeof(skb->cb));
- netif_rx(skb);
+ netif_rx_ni(skb);
}
static void sta_apply_parameters(struct ieee80211_local *local,