From: Vasanthakumar Thiagarajan Date: Mon, 3 Oct 2011 11:58:07 +0000 (+0530) Subject: ath6kl: Fix htc_packet leak in ath6kl_htc_rx_process_packets() X-Git-Tag: v3.3-rc1~182^2~261^2~200^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4159cc935a7ed119e5f824db06defaa34d992b56;p=pandora-kernel.git ath6kl: Fix htc_packet leak in ath6kl_htc_rx_process_packets() Packet is not reclaimed when ath6kl_htc_rx_process_hdr() fails. Fix this by deferring the packet deletion from comp_pktq till ath6kl_htc_rx_process_hdr() returns success. This bug is found in code review, impact is not easily visible as the leak happens only in failure cases. Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Kalle Valo --- Reading git-diff-tree failed