svcrdma: Drop connection after an RDMA Read error
authorChuck Lever <chuck.lever@oracle.com>
Tue, 10 Oct 2023 17:23:41 +0000 (13:23 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:07:11 +0000 (17:07 +0000)
commit6aa3cab6be11f06cb91757c5b4e52c9ed8193cf1
treeed14db701e1621c289dc9fdb7acc4730d9386abe
parent4b0d6ddb6466d10df878a7787f175a0e4adc3e27
svcrdma: Drop connection after an RDMA Read error

commit 197115ebf358cb440c73e868b2a0a5ef728decc6 upstream.

When an RPC Call message cannot be pulled from the client, that
is a message loss, by definition. Close the connection to trigger
the client to resend.

Cc: <stable@vger.kernel.org>
Reviewed-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c