From: Felix Fietkau Date: Mon, 7 Feb 2011 10:42:40 +0000 (+0000) Subject: mac80211: fix the check for cloned skbs in the tx path X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=0bd9041341015e554e15629513ecc6a52a3ced74;hp=ba3c2538f037022df700f11c99c5b9b0528ad962;ds=sidebyside mac80211: fix the check for cloned skbs in the tx path SVN-Revision: 25398 --- 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);