1. 23 11月, 2007 1 次提交
    • 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
  2. 20 11月, 2007 1 次提交
  3. 12 10月, 2007 1 次提交
  4. 11 10月, 2007 16 次提交
  5. 19 7月, 2007 1 次提交
  6. 11 7月, 2007 1 次提交
  7. 09 5月, 2007 1 次提交
  8. 30 4月, 2007 1 次提交
  9. 29 4月, 2007 1 次提交
  10. 26 4月, 2007 8 次提交
  11. 10 4月, 2007 1 次提交
    • D
      [TCP]: slow_start_after_idle should influence cwnd validation too · 15d33c07
      David S. Miller 提交于
      For the cases that slow_start_after_idle are meant to deal
      with, it is almost a certainty that the congestion window
      tests will think the connection is application limited and
      we'll thus decrease the cwnd there too.  This defeats the
      whole point of setting slow_start_after_idle to zero.
      
      So test it there too.
      
      We do not cancel out the entire tcp_cwnd_validate() function
      so that if the sysctl is changed we still have the validation
      state maintained.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      15d33c07
  12. 03 4月, 2007 1 次提交
  13. 14 2月, 2007 1 次提交
    • I
      [TCP]: Prevent pseudo garbage in SYN's advertized window · 600ff0c2
      Ilpo Järvinen 提交于
      TCP may advertize up to 16-bits window in SYN packets (no window
      scaling allowed). At the same time, TCP may have rcv_wnd
      (32-bits) that does not fit to 16-bits without window scaling
      resulting in pseudo garbage into advertized window from the
      low-order bits of rcv_wnd. This can happen at least when
      mss <= (1<<wscale) (see tcp_select_initial_window). This patch
      fixes the handling of SYN advertized windows (compile tested
      only).
      
      In worst case (which is unlikely to occur though), the receiver
      advertized window could be just couple of bytes. I'm not sure
      that such situation would be handled very well at all by the
      receiver!? Fortunately, the situation normalizes after the
      first non-SYN ACK is received because it has the correct,
      scaled window.
      
      Alternatively, tcp_select_initial_window could be changed to
      prevent too large rcv_wnd in the first place.
      
      [ tcp_make_synack() has the same bug, and I've added a fix for
        that to this patch -DaveM ]
      Signed-off-by: NIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      600ff0c2
  14. 11 2月, 2007 1 次提交
  15. 09 2月, 2007 1 次提交
  16. 26 1月, 2007 1 次提交
  17. 24 1月, 2007 1 次提交
  18. 03 12月, 2006 1 次提交