netfilter: ipvs: fix compiler warnings
Subsystems (4)
PATCH 1/1 netfilter: ipvs: fix compiler warnings
Fix compiler warnings when IP_VS_DBG() isn't defined.
--- net/netfilter/ipvs/ip_vs_core.c | 4 +--- 3 files changed, 9 insertions(+), 3 deletions(-)
net/netfilter/ipvs/ip_vs_core.c +0 -1
@@ -1894,9 +1894,7 @@ static int __net_init __ip_vs_init(struct net *net) static void __net_exit __ip_vs_cleanup(struct net *net) { -struct netns_ipvs *ipvs =net_ipvs (net);
Simon Horman
maintainerQuoted 3 lines · Changli Gao
Fix compiler warnings when
IP_VS_DBG()isn't defined.Signed-off-by Changli Gao <[email protected]>
Thanks, I will queue this up for when nf-next-2.6 is open again.
Quoted 3 lines · On Tuesday, January 25, 2011 05:40:18 Changli Gao wrote:
Fix compiler warnings when
IP_VS_DBG()isn't defined.Signed-off-by Changli Gao <[email protected]>
Quoted 9 lines
--- net/netfilter/ipvs/ip_vs_core.c | 4 +--- 3 files changed, 9 insertions(+), 3 deletions(-)net/netfilter/ipvs/ip_vs_core.c +0
-0@@ -1894,9 +1894,7 @@ static int __net_init __ip_vs_init(struct net *net)
net/netfilter/ipvs/ip_vs_core.c static int __net_init __ip_vs_init(struct net *net)
Quoted 10 lines
net/netfilter/ipvs/ip_vs_core.c +1
-4static void __net_exit __ip_vs_cleanup(struct net *net) { -struct netns_ipvs *ipvs =net_ipvs (net); - -IP_VS_DBG (10 ,"ipvs netns %d released\n" , ipvs->gen); +IP_VS_DBG (10 ,"ipvs netns %d released\n" ,net_ipvs (net)->gen); }static struct pernet_operations ipvs_core_ops = { --
Thanks I forgot that one.
Regards
Hans Schillstrom
Quoted 6 lines · Simon Horman
Quoted 3 lines · Changli Gao
Fix compiler warnings when
IP_VS_DBG()isn't defined.Signed-off-by Changli Gao <[email protected]>Thanks, I will queue this up for when nf-next-2.6 is open again.
It's already open.
Simon Horman
maintainerQuoted 10 lines · Patrick McHardy
Quoted 6 lines · Simon Horman
Quoted 3 lines · Changli Gao
Fix compiler warnings when
IP_VS_DBG()isn't defined.Signed-off-by Changli Gao <[email protected]>Thanks, I will queue this up for when nf-next-2.6 is open again.
It's already open.
Hi Patrick,
I'm a little unsure how you would like me to differentiate between fixes for 2.6.38 - e.g. my previous two pull requests. And patches intended for 2.6.39.
In any case I will send a pull request that includes Changli's change against nf-next-2.6.
Simon Horman
maintainerQuoted 12 lines · Simon Horman
Quoted 10 lines · Patrick McHardy
Quoted 6 lines · Simon Horman
Quoted 3 lines · Changli Gao
Fix compiler warnings when
IP_VS_DBG()isn't defined.Signed-off-by Changli Gao <[email protected]>Thanks, I will queue this up for when nf-next-2.6 is open again.
It's already open.
Quoted 8 lines
Hi Patrick,
I'm a little unsure how you would like me to differentiate between fixes for 2.6.38 - e.g. my previous two pull requests. And patches intended for 2.6.39.
In any case I will send a pull request that includes Changli's change against nf-next-2.6.
Actually, I realise that Changli's change is actually 2.6.38 material. I'll send a pull request. Please ignore my noise about 2.6.39.
Quoted 9 lines · Simon Horman
Quoted 8 lines · Patrick McHardy
Quoted 6 lines · Simon Horman
Quoted 3 lines · Changli Gao
Fix compiler warnings when
IP_VS_DBG()isn't defined.Signed-off-by Changli Gao <[email protected]>Thanks, I will queue this up for when nf-next-2.6 is open again.
Quoted 8 lines
Quoted 2 lines
It's already open.
Hi Patrick,
I'm a little unsure how you would like me to differentiate between fixes for 2.6.38 - e.g. my previous two pull requests. And patches intended for 2.6.39.
Oh, I thought those were intended for -next because it included a netns fix. Best is to just state the intended tree in your pull request.
Quoted 2 lines
In any case I will send a pull request that includes Changli's change against nf-next-2.6.
Thanks.
Julian Anastasov
maintainerHello,
Quoted 6 lines · Simon Horman
Quoted 6 lines
Hi Patrick,
I'm a little unsure how you would like me to differentiate between fixes for 2.6.38 - e.g. my previous two pull requests. And patches intended for 2.6.39.
Quoted 6 lines
Quoted 2 lines
In any case I will send a pull request that includes Changli's change against nf-next-2.6.
Actually, I realise that Changli's change is actually 2.6.38 material. I'll send a pull request. Please ignore my noise about 2.6.39.
Simon, I don't see IPVS netns work in 2.6.38-rc2,
so these changes are not for 2.6.38-rc.
Regards
--
Julian Anastasov <[email protected]>