mac80211: fix the check for cloned skbs in the tx path

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25398 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2011-02-07 10:42:40 +00:00
parent 49a7d510b1
commit 4f00c98a56
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,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);