]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211: fix initialization of skb->cb in ieee80211_subif_start_xmit
authorFelix Fietkau <nbd@openwrt.org>
Sat, 18 Dec 2010 18:30:48 +0000 (19:30 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 22:46:48 +0000 (14:46 -0800)
commit4466efc5a80c185b64749ee08c572cc6b2383a86
tree4e26a9676c36f61ffa8368d71823beeecdd518a1
parent481335e5059076b32e768545d6a5d9bafa5ba84d
mac80211: fix initialization of skb->cb in ieee80211_subif_start_xmit

commit 489ee9195a7de9e6bc833d639ff6b553ffdad90e upstream.

The change 'mac80211: Fix BUG in pskb_expand_head when transmitting shared skbs'
added a check for copying the skb if it's shared, however the tx info variable
still points at the cb of the old skb

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/tx.c