aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-07 10:42:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-07 10:42:40 +0000
commit4f00c98a5673f12410327970432227b982086576 (patch)
tree45dff9e17460db1b0ba2d519c461ab1062a106d9
parent49a7d510b1cf52bb19a83998f52a54157e260e9a (diff)
downloadupstream-4f00c98a5673f12410327970432227b982086576.tar.gz
upstream-4f00c98a5673f12410327970432227b982086576.tar.bz2
upstream-4f00c98a5673f12410327970432227b982086576.zip
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
-rw-r--r--package/mac80211/patches/590-mac80211_fix_clone_check.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/590-mac80211_fix_clone_check.patch b/package/mac80211/patches/590-mac80211_fix_clone_check.patch
new file mode 100644
index 0000000000..41de0bbe07
--- /dev/null
+++ b/package/mac80211/patches/590-mac80211_fix_clone_check.patch
@@ -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);