• David Howells's avatar
    rxrpc: Send an ACK after every few DATA packets we receive · 805b21b9
    David Howells authored
    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>
    805b21b9
output.c 10.9 KB