浏览代码

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>
John W. Linville 15 年之前
父节点
当前提交
06ee1c2613
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      net/mac80211/cfg.c

+ 1 - 1
net/mac80211/cfg.c

@@ -632,7 +632,7 @@ static void ieee80211_send_layer2_update(struct sta_info *sta)
 	skb->dev = sta->sdata->dev;
 	skb->dev = sta->sdata->dev;
 	skb->protocol = eth_type_trans(skb, sta->sdata->dev);
 	skb->protocol = eth_type_trans(skb, sta->sdata->dev);
 	memset(skb->cb, 0, sizeof(skb->cb));
 	memset(skb->cb, 0, sizeof(skb->cb));
-	netif_rx(skb);
+	netif_rx_ni(skb);
 }
 }
 
 
 static void sta_apply_parameters(struct ieee80211_local *local,
 static void sta_apply_parameters(struct ieee80211_local *local,