mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-14 06:27:03 +00:00
mac80211: fix the check for cloned skbs in the tx path
SVN-Revision: 25398
This commit is contained in:
parent
817390fd03
commit
55bd66663d
11
package/mac80211/patches/590-mac80211_fix_clone_check.patch
Normal file
11
package/mac80211/patches/590-mac80211_fix_clone_check.patch
Normal 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);
|
Loading…
x
Reference in New Issue
Block a user