mac80211: another optimization for tx performance

SVN-Revision: 24677
lede-17.01
Felix Fietkau 2010-12-18 18:27:51 +00:00
parent c9f9fc8154
commit d6addd4ecd
1 changed files with 11 additions and 0 deletions

View File

@ -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) {