projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5548a8a
)
mac80211: use netif_receive_skb in ieee80211_tx_status callpath
author
John W. Linville
<linville@tuxdriver.com>
Thu, 24 Jun 2010 18:38:30 +0000
(14:38 -0400)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 28 Jun 2010 19:14:51 +0000
(15:14 -0400)
This avoids the extra queueing from calling netif_rx.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/status.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/status.c
b/net/mac80211/status.c
index 34da67995d94ae91c8982776fd3e9104c161079f..10caec5ea8fa7740d9617605adf1590eefa2a730 100644
(file)
--- a/
net/mac80211/status.c
+++ b/
net/mac80211/status.c
@@
-377,7
+377,7
@@
void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb)
skb2 = skb_clone(skb, GFP_ATOMIC);
if (skb2) {
skb2->dev = prev_dev;
- netif_r
x
(skb2);
+ netif_r
eceive_skb
(skb2);
}
}
@@
-386,7
+386,7
@@
void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb)
}
if (prev_dev) {
skb->dev = prev_dev;
- netif_r
x
(skb);
+ netif_r
eceive_skb
(skb);
skb = NULL;
}
rcu_read_unlock();