mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
9acd56d3f2
commit
06ee1c2613
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue