rxrpc: Fix loss of final ack on shutdown
authorDavid Howells <dhowells@redhat.com>
Wed, 30 Sep 2020 22:54:44 +0000 (23:54 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 15 Oct 2020 12:28:00 +0000 (13:28 +0100)
commitddc7834af8d56c2c0e805f05493ba4a650c0344f
tree9d7b2fadb5667f2badd180de1759f33dcf80218b
parentf3af4ad1e08a8a9e61878b9f72751a5b76b3baf9
rxrpc: Fix loss of final ack on shutdown

Fix the loss of transmission of a call's final ack when a socket gets shut
down.  This means that the server will retransmit the last data packet or
send a ping ack and then get an ICMP indicating the port got closed.  The
server will then view this as a failure.

Fixes: 3136ef49a14c ("rxrpc: Delay terminal ACK transmission on a client call")
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-internal.h
net/rxrpc/conn_client.c
net/rxrpc/conn_event.c