]> 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)
commit9e55fd8f2281d75a6f6e2f472e5d7a1cefad4496
tree1a1acba574c4f35a5c28df0aa0c4414e91c06408
parent5c7c3502b7310c1b0fa9c37a9e15c9ef8d6373d1
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