]> asedeno.scripts.mit.edu Git - linux.git/commit
xprtrdma: Fix MR list handling
authorChuck Lever <chuck.lever@oracle.com>
Wed, 9 Oct 2019 17:07:43 +0000 (13:07 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 24 Oct 2019 14:30:40 +0000 (10:30 -0400)
commitc3700780a096fc66467c81076ddf7f3f11d639b5
tree6fcdde76a07dbd18fe7fcaa7c3a6e59e68f3b614
parent2ae50ad68cd79224198b525f7bd645c9da98b6ff
xprtrdma: Fix MR list handling

Close some holes introduced by commit 6dc6ec9e04c4 ("xprtrdma: Cache
free MRs in each rpcrdma_req") that could result in list corruption.

In addition, the result that is tabulated in @count is no longer
used, so @count is removed.

Fixes: 6dc6ec9e04c4 ("xprtrdma: Cache free MRs in each rpcrdma_req")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c