ath9k: fix rx dma descriptor error flag handling
[openwrt.git] / package / mac80211 / patches / 542-mac80211_fix_duplicate_skb_data_copy.patch
1 --- a/net/mac80211/tx.c
2 +++ b/net/mac80211/tx.c
3 @@ -1943,7 +1943,7 @@ netdev_tx_t ieee80211_subif_start_xmit(s
4 */
5 if (skb_shared(skb)) {
6 tmp_skb = skb;
7 - skb = skb_copy(skb, GFP_ATOMIC);
8 + skb = skb_clone(skb, GFP_ATOMIC);
9 kfree_skb(tmp_skb);
10
11 if (!skb) {
This page took 0.04759 seconds and 5 git commands to generate.