summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-18 18:27:51 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-18 18:27:51 +0000
commitf0925afdb84c6096006e741a82203067a8e104bf (patch)
tree55bff6b79543176113c051a36b593eea8dea5c49 /package
parent975880f08c55b2705ad565a03785a42bc57956cd (diff)
mac80211: another optimization for tx performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24677 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/542-mac80211_fix_duplicate_skb_data_copy.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/542-mac80211_fix_duplicate_skb_data_copy.patch b/package/mac80211/patches/542-mac80211_fix_duplicate_skb_data_copy.patch
new file mode 100644
index 000000000..e66eee2e4
--- /dev/null
+++ b/package/mac80211/patches/542-mac80211_fix_duplicate_skb_data_copy.patch
@@ -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) {