1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 20:06:15 +02:00
openwrt-xburst/package/mac80211/patches/542-mac80211_fix_duplicate_skb_data_copy.patch
nbd d250cd4ca7 mac80211: sync latest version from trunk - improves stability and performance
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 18:37:58 +00:00

12 lines
273 B
Diff

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