]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: release station info tidstats where needed
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 May 2018 09:40:44 +0000 (11:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 May 2018 10:37:55 +0000 (12:37 +0200)
commitae47b6003f7363a7ad6eeacc0d3f9560b3bce197
tree8619eac094435ad790ee411991a3a4bd8f69f5b4
parent1e58325345606382be66de43dc61e5afe2fcf9c4
cfg80211: release station info tidstats where needed

This fixes memory leaks in cases where we got the station
info but failed sending it out properly.

Fixes: 5d9ed2ec1b95 ("cfg80211: dynamically allocate per-tid stats for station info")
Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/nl80211.c