• I
    [TCP]: MTUprobe: receiver window & data available checks fixed · 91cc17c0
    Ilpo Järvinen 提交于
    It seems that the checked range for receiver window check should
    begin from the first rather than from the last skb that is going
    to be included to the probe. And that can be achieved without
    reference to skbs at all, snd_nxt and write_seq provides the
    correct seqno already. Plus, it SHOULD account packets that are
    necessary to trigger fast retransmit [RFC4821].
    
    Location of snd_wnd < probe_size/size_needed check is bogus
    because it will cause the other if() match as well (due to
    snd_nxt >= snd_una invariant).
    
    Removed dead obvious comment.
    Signed-off-by: NIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
    Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
    91cc17c0
tcp_output.c 74.1 KB