LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[PATCH] reinstate state transition timer setting in proc-fs (resend v2)

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [PATCH] reinstate state transition timer setting in proc-fs (resend v2)
Cc: Horms <horms@xxxxxxxxxxxx>
From: Roberto Nibali <ratz@xxxxxxxxxxxx>
Date: Mon, 05 Dec 2005 23:23:25 +0100
Gorram piece of shit thunderbird!!!!!!!!!!!!!!!!!!!!!!!!!

Pardon my language. Inlined that patch this time, hope it won't be
whitespace damaged or I'll rm -rf /opt/thunderbird*, seriously. :)

>> work out a solution to the templates problem I'll send some patches
>> upstream, and this can go in the batch.
> 
> I see if I can cook up something, it's not that so many people care
> about it anyway, nor is it broken; just suboptimal.

Gulp! That code was already there, just removed from the build. How so?
This patch adds that functionality back. Please apply:

Signed-off-by: Roberto Nibali

diff --git a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c
index 9bdcf31..3bda770 100644
--- a/net/ipv4/ipvs/ip_vs_ctl.c
+++ b/net/ipv4/ipvs/ip_vs_ctl.c
@@ -1447,7 +1447,6 @@ static struct ctl_table vs_vars[] = {
                .mode           = 0644,
                .proc_handler   = &proc_do_defense_mode,
        },
-#if 0
        {
                .ctl_name       = NET_IPV4_VS_TO_ES,
                .procname       = "timeout_established",
@@ -1544,7 +1543,6 @@ static struct ctl_table vs_vars[] = {
                .mode           = 0644,
                .proc_handler   = &proc_dointvec_jiffies,
        },
-#endif
        {
                .ctl_name       = NET_IPV4_VS_CACHE_BYPASS,
                .procname       = "cache_bypass",

Cheers,
Roberto Nibali, ratz

ps.: If someone happens to know why thunderbird version 1.5 Beta 2
(20051006) all of the sudden does not do attachments anymore and how to
address this deficiency ... there's a bounty on it.
-- 
echo
'[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc






<Prev in Thread] Current Thread [Next in Thread>