diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-12-18 18:27:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-12-18 18:27:51 +0000 |
commit | d6addd4ecdc9493e171a56397c3784d01b50fffc (patch) | |
tree | f2d86976d60bba47ffd96a4dd4b84e04afe456a1 /package | |
parent | c9f9fc8154c05005a27974a84f67885296162e47 (diff) | |
download | upstream-d6addd4ecdc9493e171a56397c3784d01b50fffc.tar.gz upstream-d6addd4ecdc9493e171a56397c3784d01b50fffc.tar.bz2 upstream-d6addd4ecdc9493e171a56397c3784d01b50fffc.zip |
mac80211: another optimization for tx performance
SVN-Revision: 24677
Diffstat (limited to 'package')
-rw-r--r-- | package/mac80211/patches/542-mac80211_fix_duplicate_skb_data_copy.patch | 11 |
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 0000000000..e66eee2e49 --- /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) { |