• D
    rxrpc: Send an ACK after every few DATA packets we receive · 805b21b9
    David Howells 提交于
    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: NDavid Howells <dhowells@redhat.com>
    805b21b9
misc.c 6.7 KB