1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-03 00:54:04 +02:00
openwrt-xburst/package/mac80211/patches/590-mac80211_fix_clone_check.patch
nbd f2e9f7b892 mac80211: fix the check for cloned skbs in the tx path (backport of r25398)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-07 10:44:12 +00:00

12 lines
324 B
Diff

--- 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);