commit | 993619443774f7ef4df3b98655df4c3bf298548c | [log] [tgz] |
---|---|---|
author | Michal Kazior <michal.kazior@tieto.com> | Mon Jul 14 16:25:25 2014 +0300 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Tue Jul 15 11:19:45 2014 +0300 |
tree | a0973b4fb0512fd7d606c64449f691033d9319df | |
parent | 2374b18684dfed2a0588efe4df716d16554da467 [diff] |
ath10k: sanitize tx ring index access properly The tx ring index was immediately trimmed with a bitmask. This discarded the 0xFFFFFFFF error case (which theoretically can happen when a device is abruptly disconnected) and led to using an invalid tx ring index. This could lead to memory corruption. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>