diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-12-08 17:22:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-09 08:07:42 +0100 |
commit | b63929e8e130a97303dfacc28f558262f0605708 (patch) | |
tree | 1b3de0553442be56f38db18c14f5e37117b4555f /include/linux/dax.h | |
parent | 05f4183ab5a450de5fd0033c8cfd41223cbd942d (diff) | |
download | linux-stable-b63929e8e130a97303dfacc28f558262f0605708.tar.gz linux-stable-b63929e8e130a97303dfacc28f558262f0605708.tar.bz2 linux-stable-b63929e8e130a97303dfacc28f558262f0605708.zip |
cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
commit e6f462df9acd2a3295e5d34eb29e2823220cf129 upstream.
When mac80211 abandons an association attempt, it may free
all the data structures, but inform cfg80211 and userspace
about it only by sending the deauth frame it received, in
which case cfg80211 has no link to the BSS struct that was
used and will not cfg80211_unhold_bss() it.
Fix this by providing a way to inform cfg80211 of this with
the BSS entry passed, so that it can clean up properly, and
use this ability in the appropriate places in mac80211.
This isn't ideal: some code is more or less duplicated and
tracing is missing. However, it's a fairly small change and
it's thus easier to backport - cleanups can come later.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/dax.h')
0 files changed, 0 insertions, 0 deletions