]> git.baikalelectronics.ru Git - kernel.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)
commit7240facba8b5c9bd87bab362fe3e46a366720297
tree6ebe47b91d8078594923bad607b98c0c82248fe0
parent7c88042f8ef83a1c90bffe5d24c620e84d50816b
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