commit | 1adb2e2b5f85023d17eb4f95386a57029df27c88 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Wed Jan 09 16:16:53 2013 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Jan 11 14:12:01 2013 -0500 |
tree | f2aab9f3053409f6929d0e23d39d9bde47e8aaac | |
parent | a3dc48e82bb146ef11cf75676c8410c1df29b0c4 [diff] |
ath9k: fix double-free bug on beacon generate failure 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. Cc: stable@vger.kernel.org Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>