]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix memory leak in nl80211_probe_mesh_link
authorFelix Fietkau <nbd@nbd.name>
Wed, 8 Jan 2020 17:06:29 +0000 (18:06 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 15 Jan 2020 08:53:02 +0000 (09:53 +0100)
commit4d6e274cc45140e9fa62fac4871a62ba4329fea4
treea9f7eb0223b8ce26a48c32584aa096fb9c5c9006
parentbd16afb7d8c17ad3d8f1f9f0e130912fd3801d4e
cfg80211: fix memory leak in nl80211_probe_mesh_link

The per-tid statistics need to be released after the call to rdev_get_station

Cc: stable@vger.kernel.org
Fixes: 19e16a3ca906 ("cfg80211: add support to probe unexercised mesh link")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20200108170630.33680-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c