diff options
author | Ola Olsson <ola1olsson@gmail.com> | 2015-10-29 09:04:58 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-11-03 12:40:58 +0300 |
commit | 4baf6bea37247e59f1971e8009d13aeda95edba2 (patch) | |
tree | e64df44ad8496ec39bfd9461a932975c06ab7c51 /net/mac80211/trace.h | |
parent | 519ee6918b91abdc4bc9720deae17599a109eb40 (diff) | |
download | linux-4baf6bea37247e59f1971e8009d13aeda95edba2.tar.xz |
nl80211: Fix potential memory leak from parse_acl_data
If parse_acl_data succeeds but the subsequent parsing of smps
attributes fails, there will be a memory leak due to early returns.
Fix that by moving the ACL parsing later.
Cc: stable@vger.kernel.org
Fixes: 18998c381b19b ("cfg80211: allow requesting SMPS mode on ap start")
Signed-off-by: Ola Olsson <ola.olsson@sonymobile.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/trace.h')
0 files changed, 0 insertions, 0 deletions