]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath6kl: Fix memory leak of rx packets in endpoint 0
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Fri, 10 Feb 2012 15:10:33 +0000 (20:40 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 28 Feb 2012 07:45:51 +0000 (09:45 +0200)
commit5378f244b677f6696ca8a9a467cef16cd399b0e2
tree6ebe47b91d8078594923bad607b98c0c82248fe0
parentbd5b5ac2873da5a153fa32ff58d2fc4e25f7bc8a
ath6kl: Fix memory leak of rx packets in endpoint 0

htc_packet and htc_packet->buf_start are separately allocated
for endpoint 0. This is different for other endpoints where
packets are allocated as skb where htc_packet is skb->head
and they are freed properly. Free htc_packet and htc_packet->buf_start
separatly for endpoint 0.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/htc.c