• David Howells's avatar
    rxrpc: Schedule an ACK if the reply to a client call appears overdue · 0d967960
    David Howells authored
    If we've sent all the request data in a client call but haven't seen any
    sign of the reply data yet, schedule an ACK to be sent to the server to
    find out if the reply data got lost.
    
    If the server hasn't yet hard-ACK'd the request data, we send a PING ACK to
    demand a response to find out whether we need to retransmit.
    
    If the server says it has received all of the data, we send an IDLE ACK to
    tell the server that we haven't received anything in the receive phase as
    yet.
    
    To make this work, a non-immediate PING ACK must carry a delay.  I've chosen
    the same as the IDLE ACK for the moment.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    0d967960
misc.c 6.83 KB