diff options
| author | Niels Dossche <dossche.niels@gmail.com> | 2022-03-01 23:28:22 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-03-23 09:10:41 +0100 |
| commit | cdb1e7cf482afce546d4b966c7c33da606d05526 (patch) | |
| tree | 03404334422242d69cbae24ce7e5c5bb5d81e89f /tools/testing | |
| parent | 9c90c0c62b5b5878f32400338983878a5345b050 (diff) | |
sfc: extend the locking on mcdi->seqno
[ Upstream commit f1fb205efb0ccca55626fd4ef38570dd16b44719 ]
seqno could be read as a stale value outside of the lock. The lock is
already acquired to protect the modification of seqno against a possible
race condition. Place the reading of this value also inside this locking
to protect it against a possible race condition.
Signed-off-by: Niels Dossche <dossche.niels@gmail.com>
Acked-by: Martin Habets <habetsm.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions
