]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix a memory leak on sta rate selection table
authorFelix Fietkau <nbd@openwrt.org>
Tue, 27 May 2014 20:33:57 +0000 (22:33 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 28 May 2014 14:22:41 +0000 (16:22 +0200)
commitf5faf4c9da9290d2a262a1b04f4ff459f9ba378c
tree77b23f71aa45a9ecc2c361073415042b41e44bc2
parent37f82d49bd3d8e72971e5e50b798ae3b689a72ad
mac80211: fix a memory leak on sta rate selection table

If the rate control algorithm uses a selection table, it
is leaked when the station is destroyed - fix that.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Reported-by: Christophe Prévotaux <cprevotaux@nltinc.com>
Fixes: 9cdf5d1dbb89 ("mac80211: improve the rate control API")
Cc: stable@vger.kernel.org # v3.10+
[add commit log entry, remove pointless NULL check]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c