diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-09 16:16:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-03 18:24:41 -0600 |
commit | 82f9455a53ee8c02320c6a3b3c74975b804b9df0 (patch) | |
tree | 6d0c9391f56ad0a858f6361e02e538d987ecbcb7 /sound/usb/mixer.c | |
parent | fb259496950eaa9fa104ec6e570595ed21d66b07 (diff) |
ath9k: fix double-free bug on beacon generate failure
commit 1adb2e2b5f85023d17eb4f95386a57029df27c88 upstream.
When the next beacon is sent, the ath_buf from the previous run is reused.
If getting a new beacon from mac80211 fails, bf->bf_mpdu is not reset, yet
the skb is freed, leading to a double-free on the next beacon tx attempt,
resulting in a system crash.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/usb/mixer.c')
0 files changed, 0 insertions, 0 deletions