wireless: use netif_rx_ni in ieee80211_send_layer2_update
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 19 Jul 2010 15:52:59 +0000 (11:52 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Jul 2010 19:55:12 +0000 (15:55 -0400)
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>
net/mac80211/cfg.c

index c7000a6ca379a2e206be38292dd550a39b396a17..67ee34f57df7b02cb06e5d0d4e44944cc95feca7 100644 (file)
@@ -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,