[PATCH RESEND] ath10k: Fix potential Rx ring corruption
Kalle Valo
kvalo at qca.qualcomm.com
Tue Jan 13 06:22:26 PST 2015
Vasanthakumar Thiagarajan <vthiagar at qti.qualcomm.com> writes:
> When replenishing Rx buffers driver updates the address of the
> buffer and the index of rx buffer in rx ring to the firmware.
> Change in order by CPU can cause rx ring corruption. Add memory
> barrier before updating rx buffer index to guarantee the order.
>
> This could fix some instances of rx ring corruption due to done
> bit in rx attention flag not set.
>
> Signed-off-by: Vasanthakumar Thiagarajan <vthiagar at qti.qualcomm.com>
Thanks, applied to ath.git.
--
Kalle Valo
More information about the ath10k
mailing list