]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/rxrpc/recvmsg.c
rxrpc: Don't transmit DELAY ACKs immediately on proposal
authorDavid Howells <dhowells@redhat.com>
Fri, 24 Nov 2017 10:18:41 +0000 (10:18 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 24 Nov 2017 10:18:41 +0000 (10:18 +0000)
commit8637abaa72fe8200a4a37579e6ec5273db85d2c1
tree1a1acba574c4f35a5c28df0aa0c4414e91c06408
parenta158bdd3247b9656df36ba133235fff702e9fdc3
rxrpc: Don't transmit DELAY ACKs immediately on proposal

Don't transmit a DELAY ACK immediately on proposal when the Rx window is
rotated, but rather defer it to the work function.  This means that we have
a chance to queue/consume more received packets before we actually send the
DELAY ACK, or even cancel it entirely, thereby reducing the number of
packets transmitted.

We do, however, want to continue sending other types of packet immediately,
particularly REQUESTED ACKs, as they may be used for RTT calculation by the
other side.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/recvmsg.c