• Ilpo Järvinen's avatar
    tcp: remove redundant code from tcp_mark_lost_retrans · d0af4160
    Ilpo Järvinen authored
    Arnd Hannemann <hannemann@nets.rwth-aachen.de> noticed and was
    puzzled by the fact that !tcp_is_fack(tp) leads to early return
    near the beginning and the later on tcp_is_fack(tp) was still
    used in an if condition. The later check was a left-over from
    RFC3517 SACK stuff (== !tcp_is_fack(tp) behavior nowadays) as
    there wasn't clear way how to handle this particular check
    cheaply in the spirit of RFC3517 (using only SACK blocks, not
    holes + SACK blocks as with FACK). I sort of left it there as
    a reminder but since it's confusing other people just remove
    it and comment the missing-feature stuff instead.
    Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
    Cc: Arnd Hannemann <hannemann@nets.rwth-aachen.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d0af4160
tcp_input.c 165 KB