commit | 0fdf1493b41eb64fc7e8c8e1b8830a4bd8c4bbca | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Fri May 18 11:40:44 2018 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri May 18 11:40:44 2018 +0200 |
tree | dfa33dd2675c2cb313fd9a9d22baf6478efe9367 | |
parent | 39c1134c66b4552f665da576cb625f184a44a8a3 [diff] |
mac80211: allocate and fill tidstats only when needed This fixes memory leaks in the case where we just have the station info on the stack for internal usage without sending it to cfg80211. Fixes: 8689c051a201 ("cfg80211: dynamically allocate per-tid stats for station info") Signed-off-by: Johannes Berg <johannes.berg@intel.com>