]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit5c81833c2f74304142be6dde5688bf444316da21
tree7024dc03b5241d6ad8e7edee0f370c9a15c64646
parentad02ac145d49067a94bf8f3357c527020d5893ed
[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