From: Michal Kazior Date: Mon, 26 May 2014 10:02:58 +0000 (+0200) Subject: ath10k: protect src_ring state with ce_lock in tx_sg() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~99^2^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7147a13135ee717397969d33a139204dfe793022;p=pandora-kernel.git 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 Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed