Star64_linux/net/sunrpc
Chuck Lever b5257c1ec7 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-09-05 01:25:03 +08:00
..
auth_gss SUNRPC: ensure the matching upcall is in-flight upon downcall 2023-04-19 17:58:23 +08:00
xprtrdma xprtrdma: Remap Receive buffers after a reconnect 2023-09-05 01:25:03 +08:00
addr.c nfsd: don't alloc under spinlock in rpc_parse_scope_id 2023-04-19 16:57:41 +08:00
auth.c sunrpc: fix expiry of auth creds 2023-04-19 17:53:02 +08:00
auth_null.c
auth_unix.c SUNRPC: Use the client user namespace when encoding creds 2019-04-26 16:24:32 -04:00
backchannel_rqst.c SUNRPC: Reinitialise the backchannel request buffers before reuse 2023-04-19 17:53:02 +08:00
cache.c SUNRPC: improve error response to over-size gss credential 2021-09-03 13:38:11 -04:00
clnt.c SUNRPC: remove the maximum number of retries in call_bind_status 2023-06-06 18:37:28 +08:00
debugfs.c NFS Client Updates for Linux 5.15 2021-09-04 10:25:26 -07:00
fail.h SUNRPC: Server-side disconnect injection 2021-08-20 13:50:33 -04:00
Kconfig SUNRPC: remove RC4-HMAC-MD5 support from KerberosV 2020-09-11 14:39:15 +10:00
Makefile sunrpc: Create a sunrpc directory under /sys/kernel/ 2021-07-08 14:03:23 -04:00
netns.h
rpc_pipe.c fsnotify: fix fsnotify hooks in pseudo filesystems 2023-04-19 17:44:48 +08:00
rpcb_clnt.c sunrpc: honor rpc_task's timeout value in rpcb_create() 2021-04-05 09:04:21 -04:00
sched.c SUNRPC: remove the maximum number of retries in call_bind_status 2023-06-06 18:37:28 +08:00
socklib.c skb_copy_and_csum_bits(): don't bother with the last argument 2020-08-20 15:45:13 -04:00
socklib.h SUNRPC: Refactor xs_sendpages() 2020-03-16 12:04:33 -04:00
stats.c proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
sunrpc.h Replace HTTP links with HTTPS ones: NFS, SUNRPC, and LOCKD clients 2020-09-21 10:21:10 -04:00
sunrpc_syms.c sunrpc: add IDs to multipath 2021-07-08 14:03:23 -04:00
svc.c SUNRPC: Fix trace_svc_register() call site 2023-06-06 18:39:37 +08:00
svc_xprt.c SUNRPC: always free ctxt when freeing deferred request 2023-06-06 18:39:37 +08:00
svcauth.c SUNRPC: Add svc_rqst::rq_auth_stat 2021-08-10 14:18:35 -04:00
svcauth_unix.c sunrpc: only free unix grouplist after RCU settles 2023-04-19 18:01:20 +08:00
svcsock.c SUNRPC: Fix UAF in svc_tcp_listen_data_ready() 2023-08-20 15:24:40 +08:00
sysctl.c net/sunrpc: fix useless comparison in proc_do_xprt() 2020-11-08 16:28:25 -05:00
sysfs.c SUNRPC: Fix null-ptr-deref when xps sysfs alloc failed 2023-04-19 17:55:56 +08:00
sysfs.h SUNRPC: take a xprt offline using sysfs 2021-07-08 14:03:24 -04:00
timer.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00
xdr.c SUNRPC: Fix READ_PLUS crasher 2023-04-19 17:50:51 +08:00
xprt.c SUNRPC: Ensure we flush any closed sockets before xs_xprt_free() 2023-04-19 17:48:52 +08:00
xprtmultipath.c SUNRPC keep track of number of transports to unique addresses 2021-08-27 16:36:53 -04:00
xprtsock.c SUNRPC: fix shutdown of NFS TCP client socket 2023-04-19 18:01:12 +08:00