commit | 7147a13135ee717397969d33a139204dfe793022 | [log] [tgz] |
---|---|---|
author | Michal Kazior <michal.kazior@tieto.com> | Mon May 26 12:02:58 2014 +0200 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Tue May 27 12:32:02 2014 +0300 |
tree | 4eedc3cdbe991c96025e9050c89d3cbc25d36b01 | |
parent | 4b81d1776092125db98301b0044476478e1e8de2 [diff] |
ath10k: protect src_ring state with ce_lock in tx_sg() It was possible to read invalid state of CE ring buffer indexes. This could lead to scatter-gather transfer failure in mid-way and crash firmware later by leaving garbage data on the ring. Reported-By: Avery Pennarun <apenwarr@gmail.com> Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>