On Tue, 14 Dec 2010, Hans Schillstrom wrote:
+/* Remove dot used
tcp_set_state_timeout(struct ip_vs_protocol *pp, char *sname, int to)
return ip_vs_set_state_timeout(pp->timeout_table, IP_VS_TCP_S_LAST,
tcp_state_name_table, sname, to);
Can we just remove tcp_set_state_timeout ?
Sure, anyone that disagree ?
OK. Long ago the idea was ipvsadm to change the
timeouts for all states but it was not finished. IIRC,
all sysctl vars to control these timeouts are disabled.
What is missing is some method (via netlink) to provide
protocol, state name and timeout to the tcp_set_state_timeout
function because some users want to reduce the memory
usage with lower timeouts. Example:
# ipvsadm --get-proto-timeouts TCP SYN_RECV,ESTABLISHED
# ipvsadm --set-proto-timeouts TCP "SYN_RECV=10, ESTABLISHED=20"
Julian Anastasov <ja@xxxxxx>
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html