[TCP]: Remove lost_retrans zero seqno special cases
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Thu, 18 Oct 2007 12:07:57 +0000 (05:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2007 12:07:57 +0000 (05:07 -0700)
commitdf2e014bfbbf26d160e1bf47b05fc05c96205e2b
treea474eb50c7d22be7d725ff0f6f6e8cb8d84c4eae
parentbfaae0f04c68bafc12ec50c6922d71a90deea3e2
[TCP]: Remove lost_retrans zero seqno special cases

Both high-sack detection and new lowest seq variables have
unnecessary zero special case which are now removed by setting
safe initial seqnos.

This also fixes problem which caused zero received_upto being
passed to tcp_mark_lost_retrans which confused after relations
within the marker loop causing incorrect TCPCB_SACKED_RETRANS
clearing. The problem was noticed because of a performance
report from TAKANO Ryousei <takano@axe-inc.co.jp>.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Acked-by: Ryousei Takano <takano-ryousei@aist.go.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c