]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
ath6kl: Fix potential skb double free in ath6kl_wmi_sync_point()
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Tue, 14 Aug 2012 04:40:33 +0000 (10:10 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 24 Oct 2012 08:49:45 +0000 (11:49 +0300)
commit0616dc1f2bef563d7916c0dcedbb1bff7d9bd80b
treea71c50e1d826e6cd07dcfd05ea618b7840540b98
parentf21243a82253e34f64187aeb3d7f93fb7cb92536
ath6kl: Fix potential skb double free in ath6kl_wmi_sync_point()

skb given to ath6kl_control_tx() is owned by ath6kl_control_tx().
Calling function should not free the skb for error cases.
This is found during code review.

kvalo: fix a checkpatch warning in ath6kl_wmi_cmd_send()

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