diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-11-24 20:28:27 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-12-04 14:43:32 +0100 |
commit | e673a65952b4ab045a3e3eb200fdf408004fb4fd (patch) | |
tree | 7a6a39d644b63949cc7adc18342d12fd309c0b7e /net/mac80211/main.c | |
parent | 856142cdaa483099f50cac70a16898ead8e4094d (diff) | |
download | op-kernel-dev-e673a65952b4ab045a3e3eb200fdf408004fb4fd.zip op-kernel-dev-e673a65952b4ab045a3e3eb200fdf408004fb4fd.tar.gz |
mac80211: fix mgmt-tx abort cookie and leak
If a mgmt-tx operation is aborted before it runs, the wrong
cookie is reported back to userspace, and the ack_skb gets
leaked since the frame is freed directly instead of freeing
it using ieee80211_free_txskb(). Fix that.
Fixes: 3b79af973cf4 ("mac80211: stop using pointers as userspace cookies")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
0 files changed, 0 insertions, 0 deletions