WSL2-Linux-Kernel/net/sunrpc/xprtrdma
Chuck Lever 8cc8645dd3 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:18:10 +02:00
..
Makefile
backchannel.c xprtrdma: Eliminate rpcrdma_post_sends() 2021-08-09 16:42:25 -04:00
frwr_ops.c xprtrdma: Add an xprtrdma_post_send_err tracepoint 2021-08-09 16:42:18 -04:00
module.c
rpc_rdma.c xprtrdma: treat all calls not a bcall when bc_serv is NULL 2022-06-14 18:36:16 +02:00
svc_rdma.c
svc_rdma_backchannel.c
svc_rdma_pcl.c
svc_rdma_recvfrom.c svcrdma: Prevent page release when nothing was received 2023-07-23 13:46:45 +02:00
svc_rdma_rw.c SUNRPC: Trap RDMA segment overflows 2022-06-14 18:36:16 +02:00
svc_rdma_sendto.c svcrdma: Relieve contention on sc_send_lock. 2021-08-17 11:47:53 -04:00
svc_rdma_transport.c SUNRPC: always free ctxt when freeing deferred request 2023-05-24 17:36:51 +01:00
transport.c SUNRPC/xprt: async tasks mustn't block waiting for memory 2022-04-13 20:59:12 +02:00
verbs.c xprtrdma: Remap Receive buffers after a reconnect 2023-08-30 16:18:10 +02:00
xprt_rdma.h xprtrdma: Eliminate rpcrdma_post_sends() 2021-08-09 16:42:25 -04:00