mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
mac80211: another optimization for tx performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24677 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/net/mac80211/tx.c
|
||||
+++ b/net/mac80211/tx.c
|
||||
@@ -1943,7 +1943,7 @@ netdev_tx_t ieee80211_subif_start_xmit(s
|
||||
*/
|
||||
if (skb_shared(skb)) {
|
||||
tmp_skb = skb;
|
||||
- skb = skb_copy(skb, GFP_ATOMIC);
|
||||
+ skb = skb_clone(skb, GFP_ATOMIC);
|
||||
kfree_skb(tmp_skb);
|
||||
|
||||
if (!skb) {
|
||||
Reference in New Issue
Block a user