• David Howells's avatar
    rxrpc: Don't transmit DELAY ACKs immediately on proposal · 8637abaa
    David Howells authored
    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: default avatarDavid Howells <dhowells@redhat.com>
    8637abaa
recvmsg.c 18.7 KB