commit | 805b21b929e29192fb5de16154f616bfc1116e3e | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Sat Sep 24 18:05:26 2016 +0100 |
committer | David Howells <dhowells@redhat.com> | Sat Sep 24 18:05:26 2016 +0100 |
tree | b48e21a8c4d7b824fe0e9289fe51a9e739a5c46e | |
parent | c6a77ff82fb849534748719f37f3f9086d78ed39 [diff] |
rxrpc: Send an ACK after every few DATA packets we receive Send an ACK if we haven't sent one for the last two packets we've received. This keeps the other end apprised of where we've got to - which is important if they're doing slow-start. We do this in recvmsg so that we can dispatch a packet directly without the need to wake up the background thread. This should possibly be made configurable in future. Signed-off-by: David Howells <dhowells@redhat.com>