• Baruch Even's avatar
    [TCP]: Seperate DSACK from SACK fast path · 6f74651a
    Baruch Even authored
    Move DSACK code outside the SACK fast-path checking code. If the DSACK
    determined that the information was too old we stayed with a partial cache
    copied. Most likely this matters very little since the next packet will not be
    DSACK and we will find it in the cache. but it's still not good form and there
    is little reason to couple the two checks.
    
    Since the SACK receive cache doesn't need the data to be in host order we also
    remove the ntohl in the checking loop.
    Signed-off-by: default avatarBaruch Even <baruch@ev-en.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    6f74651a
tcp_input.c 132 KB