summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/542-mac80211_fix_duplicate_skb_data_copy.patch
blob: e66eee2e4936c287c116c3602d68a3317762e780 (plain)
1
2
3
4
5
6
7
8
9
10
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) {