Skip to content
Commit 805b21b9 authored by David Howells's avatar David Howells
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
parent c6a77ff8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment