]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ath9k_htc: Fix memory leak on WMI event handler
authorRajkumar Manoharan <rmanoharan@atheros.com>
Tue, 14 Sep 2010 07:37:28 +0000 (13:07 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 14 Sep 2010 20:14:26 +0000 (16:14 -0400)
commitcc0de6536e8b70d61948128a9cbf86920066c53d
treeb88071d525cc215f4a82c1ca3f08a8364784b16a
parent3a160a5b5fc7d45fa2f869b23f8fcd27a4c05f8f
ath9k_htc: Fix memory leak on WMI event handler

ath9k_wmi_ctrl_rx is racy with ath9k_wmi_tasklet on event notification
due to which the wmi_skb may be overwritten which leads to memory leak.

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/wmi.c
drivers/net/wireless/ath/ath9k/wmi.h