Anna Schumaker 4403233b87 sunrpc: Fix potential race conditions in rpc_sysfs_xprt_state_change()
[ Upstream commit 1a48db3fef499f615b56093947ec4b0d3d8e3021 ]

We need to use test_and_set_bit() when changing xprt state flags to
avoid potentially getting xps->xps_nactive out of sync.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-02-16 12:56:10 +01:00
..
2021-09-04 10:25:26 -07:00
2020-03-16 12:04:33 -04:00
2021-07-08 14:03:23 -04:00
2021-09-08 15:55:42 -07:00
2021-09-04 10:25:26 -07:00
2021-08-10 14:18:35 -04:00
2021-09-04 10:25:26 -07:00