]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteaff8df61cba49211d298ee6eb714cd32d9205a5
tree9d7b2fadb5667f2badd180de1759f33dcf80218b
parenta8df3916b4ed64fd71a9095a3e15e347de6cb4aa
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: 0b9a5c241fa4 ("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