• David Howells's avatar
    rxrpc: Save last ACK's SACK table rather than marking txbufs · d57a3a15
    David Howells authored
    Improve the tracking of which packets need to be transmitted by saving the
    last ACK packet that we receive that has a populated soft-ACK table rather
    than marking packets.  Then we can step through the soft-ACK table and look
    at the packets we've transmitted beyond that to determine which packets we
    might want to retransmit.
    
    We also look at the highest serial number that has been acked to try and
    guess which packets we've transmitted the peer is likely to have seen.  If
    necessary, we send a ping to retrieve that number.
    
    One downside that might be a problem is that we can't then compare the
    previous acked/unacked state so easily in rxrpc_input_soft_acks() - which
    is a potential problem for the slow-start algorithm.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    cc: Marc Dionne <marc.dionne@auristor.com>
    cc: linux-afs@lists.infradead.org
    d57a3a15
call_event.c 12.4 KB