tcp: Make shifting not clear the hints
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Tue, 25 Nov 2008 05:26:56 +0000 (21:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Nov 2008 05:26:56 +0000 (21:26 -0800)
commit92ee76b6d99bfcdab6162816c9025541ef7248eb
tree84ff34e13792073b32e8e767f47598e373d2689d
parent832d11c5cd076abc0aa1eaf7be96c81d1a59ce41
tcp: Make shifting not clear the hints

The earlier version was just very basic one which is "playing
safe" by always clearing the hints. However, clearing of a hint
is extremely costly operation with large windows, so it must be
avoided at all cost whenever possible, there is a way with
shifting too achieve not-clearing.

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