[GIT PULL] Please pull first round of NFS server -rc fixes for v5.7

From: Chuck Lever
Date: Thu Apr 23 2020 - 10:36:48 EST


Hi Linus-

As promised, here is the first set of 5.7-rc fixes for NFS server issues.
These were all unresolved at the time the 5.7 window opened, and needed
some additional time to ensure they were correctly addressed. They are
ready now.

At the moment I know of one more urgent issue regarding the NFS server.
A fix has been tested and is under review. I expect to send one more
"5.7-rc fixes" PR, containing this fix (which now consists of 3 patches).


The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136:

Linux 5.7-rc1 (2020-04-12 12:35:55 -0700)

are available in the Git repository at:

git://git.linux-nfs.org/projects/cel/cel-2.6.git tags/nfsd-5.7-rc-1

for you to fetch changes up to 23cf1ee1f1869966b75518c59b5cbda4c6c92450:

svcrdma: Fix leak of svc_rdma_recv_ctxt objects (2020-04-17 12:40:38 -0400)

----------------------------------------------------------------
Fixes:

- Address several use-after-free and memory leak bugs

- Prevent a backchannel livelock

----------------------------------------------------------------
Chuck Lever (3):
SUNRPC: Fix backchannel RPC soft lockups
svcrdma: Fix trace point use-after-free race
svcrdma: Fix leak of svc_rdma_recv_ctxt objects

Vasily Averin (1):
nfsd: memory corruption in nfsd4_lock()

Yihao Wu (1):
SUNRPC/cache: Fix unsafe traverse caused double-free in cache_purge

fs/nfsd/nfs4callback.c | 4 +++-
fs/nfsd/nfs4state.c | 2 ++
include/linux/sunrpc/svc_rdma.h | 1 +
include/trace/events/rpcrdma.h | 50 ++++++++++++++++++++++++++++++++++++--------------
net/sunrpc/cache.c | 5 +++--
net/sunrpc/svc_xprt.c | 5 ++---
net/sunrpc/svcsock.c | 4 ++++
net/sunrpc/xprtrdma/svc_rdma_backchannel.c | 2 ++
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 22 ++++++++++++++++++++++
net/sunrpc/xprtrdma/svc_rdma_rw.c | 3 +--
net/sunrpc/xprtrdma/svc_rdma_sendto.c | 29 ++++++++++++-----------------
net/sunrpc/xprtrdma/svc_rdma_transport.c | 5 -----
net/sunrpc/xprtsock.c | 1 +
13 files changed, 89 insertions(+), 44 deletions(-)

--
Chuck Lever