Commit 5ed3bc7288487bd4f891f420a07319e0b538b4fe
1 parent
5548a8a113
Exists in
master
and in
4 other branches
mac80211: use netif_receive_skb in ieee80211_tx_status callpath
This avoids the extra queueing from calling netif_rx. Signed-off-by: John W. Linville <linville@tuxdriver.com>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
net/mac80211/status.c
... | ... | @@ -377,7 +377,7 @@ |
377 | 377 | skb2 = skb_clone(skb, GFP_ATOMIC); |
378 | 378 | if (skb2) { |
379 | 379 | skb2->dev = prev_dev; |
380 | - netif_rx(skb2); | |
380 | + netif_receive_skb(skb2); | |
381 | 381 | } |
382 | 382 | } |
383 | 383 | |
... | ... | @@ -386,7 +386,7 @@ |
386 | 386 | } |
387 | 387 | if (prev_dev) { |
388 | 388 | skb->dev = prev_dev; |
389 | - netif_rx(skb); | |
389 | + netif_receive_skb(skb); | |
390 | 390 | skb = NULL; |
391 | 391 | } |
392 | 392 | rcu_read_unlock(); |