Re: [PATCH 2/5] IPVS: remove duplicate initialisation or rs_table

2 messages, 2 authors, 2011-02-01 · open the first message on its own page

Re: [PATCH 2/5] IPVS: remove duplicate initialisation or rs_table

From: Hans Schillstrom <hidden>
Date: 2011-02-01 17:06:51

---- Original Message ----
From: Simon Horman <horms@verge.net.au>
To: netdev@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, lvs-devel@vger.kernel.org
Cc: "Randy Dunlap" <redacted>, "Stephen Rothwell" <redacted>, "Hans Schillstrom" <redacted>, "Patrick McHardy" <redacted>, "Simon Horman" <horms@verge.net.au>
Sent: Tue, Feb 1, 2011, 11:11 AM
Subject: [PATCH 2/5] IPVS: remove duplicate initialisation or rs_table

Cc: Hans Schillstrom <redacted>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Hans Schillstrom <redacted>
Tested-by: Hans Schillstrom <redacted>
quoted hunk
---
net/netfilter/ipvs/ip_vs_ctl.c |    3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c
index 98df59a..d7c2fa8 100644
--- a/net/netfilter/ipvs/ip_vs_ctl.c
+++ b/net/netfilter/ipvs/ip_vs_ctl.c
@@ -3515,9 +3515,6 @@ int __net_init __ip_vs_control_init(struct net *net)
	}
	spin_lock_init(&ipvs->tot_stats->lock);

-	for (idx = 0; idx < IP_VS_RTAB_SIZE; idx++)
-		INIT_LIST_HEAD(&ipvs->rs_table[idx]);
-
	proc_net_fops_create(net, "ip_vs", 0, &ip_vs_info_fops);
	proc_net_fops_create(net, "ip_vs_stats", 0, &ip_vs_stats_fops);
	proc_net_fops_create(net, "ip_vs_stats_percpu", 0,
-- 
1.7.2.3

--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Re: [PATCH 2/5] IPVS: remove duplicate initialisation or rs_table

From: Patrick McHardy <hidden>
Date: 2011-02-01 17:27:39

Am 01.02.2011 18:06, schrieb Hans Schillstrom:
quoted
[PATCH 2/5] IPVS: remove duplicate initialisation or rs_table
quoted
Cc: Hans Schillstrom <redacted>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Hans Schillstrom <redacted>
Tested-by: Hans Schillstrom <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help