]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Use S+L catcher only with SACK for now
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Thu, 3 May 2007 10:30:34 +0000 (03:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2007 10:30:34 +0000 (03:30 -0700)
commitc4559c178dd59651ec961a4ab2785efa7276e4e5
tree0e17c856f1d1317741fa340b631b88abbc8f6ccf
parent6ee18e41aa93f964260c516dd2e98ba29cd535ff
[TCP]: Use S+L catcher only with SACK for now

TCP has a transitional state when SACK is not in use during
which this invariant is temporarily broken. Without SACK,
tcp_clean_rtx_queue does not decrement sacked_out. Therefore
calls to tcp_sync_left_out before sacked_out is again
corrected by tcp_fastretrans_alert can trigger this trap as
sacked_out still has couple of segments that are already out
of window.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h