]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211: use ieee80211_free_txskb to fix possible skb leaks
authorFelix Fietkau <nbd@openwrt.org>
Mon, 8 Oct 2012 12:39:33 +0000 (14:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Oct 2012 19:06:05 +0000 (15:06 -0400)
commitc3e7724b6bc2f25e46c38dbe68f09d71fafeafb8
treec53c47afd35c31d170f0c9f339178e549883c9c1
parent5bcbc3fcbd88842765aa419934602d3930c6ed3c
mac80211: use ieee80211_free_txskb to fix possible skb leaks

A few places free skbs using dev_kfree_skb even though they're called
after ieee80211_subif_start_xmit might have cloned it for tracking tx
status. Use ieee80211_free_txskb here to prevent skb leaks.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/status.c
net/mac80211/tx.c