]> git.baikalelectronics.ru Git - kernel.git/commit
[IPVS]: use proper timeout instead of fixed value
authorAndy Gospodarek <andy@greyhouse.net>
Mon, 29 Oct 2007 11:35:45 +0000 (04:35 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 30 Oct 2007 05:37:23 +0000 (22:37 -0700)
commit2c4d44dadb4835fe2139f45e19ab36dc125202b5
tree7024dc03b5241d6ad8e7edee0f370c9a15c64646
parent7e18869236645630685f30d95f9b9fa2aaba5db5
[IPVS]: use proper timeout instead of fixed value

Instead of using the default timeout of 3 minutes, this uses the timeout
specific to the protocol used for the connection. The 3 minute timeout
seems somewhat arbitrary (though I know it is used other places in the
ipvs code) and when failing over it would be much nicer to use one of
the configured timeout values.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipvs/ip_vs_sync.c