Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/sfc
Niels Dossche 2490695ffd 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>
2022-03-19 13:44:46 +01:00
..
2022-01-11 15:24:59 +01:00
2020-07-27 12:26:55 -07:00
2020-07-27 12:26:55 -07:00
2020-09-11 17:15:22 -07:00
2020-09-21 13:55:13 -07:00
2020-07-27 12:26:55 -07:00
2020-08-14 14:07:16 -07:00
2020-07-27 12:26:55 -07:00
2020-07-27 12:26:55 -07:00
2020-07-27 12:26:55 -07:00
2020-07-27 12:26:55 -07:00
2020-09-11 17:15:22 -07:00
2020-09-11 17:15:22 -07:00
2020-06-29 17:37:48 -07:00
2020-09-07 14:46:13 -07:00
2022-03-19 13:44:46 +01:00
2020-09-25 16:29:00 -07:00
2020-09-11 17:15:22 -07:00
2020-06-29 17:37:48 -07:00
2022-01-11 15:24:59 +01:00
2020-08-23 17:36:59 -05:00
2020-09-11 17:15:22 -07:00
2020-09-11 17:15:22 -07:00
2020-07-27 12:26:55 -07:00
2020-09-11 17:15:22 -07:00