]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c78d09cb6e3cfc067b8e51162aad09a853164e5
tree1a1acba574c4f35a5c28df0aa0c4414e91c06408
parentdf9ebef74965c9f084e043aac968f098f897b91f
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