mac80211: fix the check for cloned skbs in the tx path
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 590-mac80211_fix_clone_check.patch
1 --- a/net/mac80211/tx.c
2 +++ b/net/mac80211/tx.c
3 @@ -1547,7 +1547,7 @@ static int ieee80211_skb_resize(struct i
4 skb_orphan(skb);
5 }
6
7 - if (skb_header_cloned(skb))
8 + if (skb_cloned(skb))
9 I802_DEBUG_INC(local->tx_expand_skb_head_cloned);
10 else if (head_need || tail_need)
11 I802_DEBUG_INC(local->tx_expand_skb_head);