linux-stable/net/sunrpc/xprtrdma
Chuck Lever 26ea8668b8 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 16:10:57 +02:00
..
backchannel.c xprtrdma: Clean up synopsis of rpcrdma_req_create() 2022-10-05 15:47:16 -04:00
frwr_ops.c xprtrdma: Fix uninitialized variable 2022-10-05 15:47:17 -04:00
Makefile svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
module.c SUNRPC: xprt_load_transport() needs to support the netid "rdma6" 2020-12-02 14:05:52 -05:00
rpc_rdma.c xprtrdma: treat all calls not a bcall when bc_serv is NULL 2022-05-31 17:09:30 -04:00
svc_rdma.c svcrdma: Deprecate stat variables that are no longer used 2021-01-25 09:36:28 -05:00
svc_rdma_backchannel.c svcrdma: Clean up RPCRDMA_DEF_GFP 2022-10-05 15:47:16 -04:00
svc_rdma_pcl.c svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
svc_rdma_recvfrom.c svcrdma: Prevent page release when nothing was received 2023-07-19 16:20:59 +02:00
svc_rdma_rw.c SUNRPC: Trap RDMA segment overflows 2022-06-02 13:05:58 -04:00
svc_rdma_sendto.c svcrdma: Split the svcrdma_wc_send() tracepoint 2021-10-04 15:40:15 -04:00
svc_rdma_transport.c SUNRPC: always free ctxt when freeing deferred request 2023-05-24 17:32:45 +01:00
transport.c SUNRPC: Replace the use of the xprtiod WQ in rpcrdma 2022-10-05 15:47:16 -04:00
verbs.c xprtrdma: Remap Receive buffers after a reconnect 2023-08-30 16:10:57 +02:00
xprt_rdma.h xprtrdma: MR-related memory allocation should be allowed to fail 2022-10-05 15:47:16 -04:00