summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/590-mac80211_fix_clone_check.patch
blob: 41de0bbe070aa2dde6df14a97ee23bd30289206d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1547,7 +1547,7 @@ static int ieee80211_skb_resize(struct i
 		skb_orphan(skb);
 	}
 
-	if (skb_header_cloned(skb))
+	if (skb_cloned(skb))
 		I802_DEBUG_INC(local->tx_expand_skb_head_cloned);
 	else if (head_need || tail_need)
 		I802_DEBUG_INC(local->tx_expand_skb_head);