]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: free wmi mgmt event skb when parsing fails
authorRaja Mani <rmani@qti.qualcomm.com>
Mon, 1 Jun 2015 09:23:33 +0000 (14:53 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 9 Jun 2015 10:40:42 +0000 (13:40 +0300)
commit1b28040915fb39155471c117d6d182fe01e8bee9
tree61e647ed08432f9397eaabab96ae7285bf0f3113
parent4bf5a34a55d10aad54c6469f36d4eaafba128748
ath10k: free wmi mgmt event skb when parsing fails

When wmi mgmt event function fails to parse given skb,
it should be freed on failure condition to avoid memory
leaks. Found this during the code review.

Signed-off-by: Raja Mani <rmani@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c