linux-stable/net/sunrpc
Chuck Lever a7342df307 xprtrdma: Remap Receive buffers after a reconnect
[ Upstream commit 895cedc179 ]

On server-initiated disconnect, rpcrdma_xprt_disconnect() was DMA-
unmapping the Receive buffers, but rpcrdma_post_recvs() neglected
to remap them after a new connection had been established. The
result was immediate failure of the new connection with the Receives
flushing with LOCAL_PROT_ERR.

Fixes: 671c450b6f ("xprtrdma: Fix oops in Receive handler after device removal")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-30 14:52:27 +02:00
..
auth_gss SUNRPC: Avoid relying on crypto API to derive CBC-CTS output IV 2023-05-02 11:35:04 -04:00
xprtrdma xprtrdma: Remap Receive buffers after a reconnect 2023-08-30 14:52:27 +02:00
.kunitconfig
Kconfig
Makefile
addr.c
auth.c
auth_null.c
auth_unix.c
backchannel_rqst.c
cache.c
clnt.c SUNRPC: remove the maximum number of retries in call_bind_status 2023-04-19 17:06:02 -04:00
debugfs.c
fail.h
netns.h
rpc_pipe.c
rpcb_clnt.c
sched.c SUNRPC: Don't change task->tk_status after the call to rpc_exit_task 2023-05-19 16:50:05 -04:00
socklib.c
socklib.h
stats.c
sunrpc.h
sunrpc_syms.c
svc.c SUNRPC: Fix trace_svc_register() call site 2023-05-14 15:58:14 -04:00
svc_xprt.c SUNRPC: always free ctxt when freeing deferred request 2023-05-14 15:55:02 -04:00
svcauth.c
svcauth_unix.c SUNRPC: Support TLS handshake in the server-side TCP socket code 2023-04-27 18:49:24 -04:00
svcsock.c SUNRPC: Fix UAF in svc_tcp_listen_data_ready() 2023-07-19 16:36:22 +02:00
sysctl.c sunrpc: simplify one-level sysctl registration for debug_table 2023-04-11 12:45:19 -04:00
sysfs.c
sysfs.h
timer.c
xdr.c
xprt.c
xprtmultipath.c
xprtsock.c sunrpc: simplify one-level sysctl registration for xs_tunables_table 2023-04-11 12:45:19 -04:00