]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc729060a03169af05d98dd6d258db2dc59e8ea02
tree84ff34e13792073b32e8e767f47598e373d2689d
parentc7f919da2ae74d5628091d9a5860baa97e4480fb
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