tcp: convert retransmit_cnt_hint to seqno
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Sun, 21 Sep 2008 04:20:20 +0000 (21:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Sep 2008 04:20:20 +0000 (21:20 -0700)
commit006f582c73f4eda35e06fd323193c3df43fb3459
treed82762cfb6fb5e6889a52d316fa263a80c4f9fb3
parent41ea36e35a0daa75377b3e70680e5c3a3f83fe27
tcp: convert retransmit_cnt_hint to seqno

Main benefit in this is that we can then freely point
the retransmit_skb_hint to anywhere we want to because
there's no longer need to know what would be the count
changes involve, and since this is really used only as a
terminator, unnecessary work is one time walk at most,
and if some retransmissions are necessary after that
point later on, the walk is not full waste of time
anyway.

Since retransmit_high must be kept valid, all lost
markers must ensure that.

Now I also have learned how those "holes" in the
rexmittable skbs can appear, mtu probe does them. So
I removed the misleading comment as well.

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