summaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipvs
diff options
context:
space:
mode:
authorHans Schillstrom <hans.schillstrom@ericsson.com>2011-01-24 15:14:41 +0100
committerSimon Horman <horms@verge.net.au>2011-01-25 12:13:08 +1000
commit07924709f68b3f4f701d4efd6acd18ca4ee14de3 (patch)
tree3b2a173cd5aca2aaeffba3777308ef9fb260af96 /net/netfilter/ipvs
parent4b3fd57138c969dd940651fadf90db627254edbf (diff)
downloadop-kernel-dev-07924709f68b3f4f701d4efd6acd18ca4ee14de3.zip
op-kernel-dev-07924709f68b3f4f701d4efd6acd18ca4ee14de3.tar.gz
IPVS netns BUG, register sysctl for root ns
The newly created table was not used when register sysctl for a new namespace. I.e. sysctl doesn't work for other than root namespace (init_net) Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/ipvs')
-rw-r--r--net/netfilter/ipvs/ip_vs_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c
index 68b8033..98df59a 100644
--- a/net/netfilter/ipvs/ip_vs_ctl.c
+++ b/net/netfilter/ipvs/ip_vs_ctl.c
@@ -3556,7 +3556,7 @@ int __net_init __ip_vs_control_init(struct net *net)
ipvs->sysctl_hdr = register_net_sysctl_table(net, net_vs_ctl_path,
- vs_vars);
+ tbl);
if (ipvs->sysctl_hdr == NULL)
goto err_reg;
ip_vs_new_estimator(net, ipvs->tot_stats);
OpenPOWER on IntegriCloud