Skip to content
Commit 1a48db3f authored by Anna Schumaker's avatar Anna Schumaker
Browse files

sunrpc: Fix potential race conditions in rpc_sysfs_xprt_state_change()



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: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 776d794f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment