]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Put rpcrdma_reps before waking the tear-down completion
authorChuck Lever <chuck.lever@oracle.com>
Mon, 2 Aug 2021 18:44:24 +0000 (14:44 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 9 Aug 2021 20:42:02 +0000 (16:42 -0400)
commit5622bfa4773184d4eb177e2863a78e8b57752371
tree9c249938a7f4840b19a4bd17356d6d2bafebc0af
parent022795a3ece58e0208018b158ed164b15a457fe3
xprtrdma: Put rpcrdma_reps before waking the tear-down completion

Ensure the tear-down completion is awoken only /after/ we've stopped
fiddling with rpcrdma_rep objects in rpcrdma_post_recvs().

Fixes: 8d6cd07f862c ("xprtrdma: Do not refresh Receive Queue while it is draining")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c