projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
675071a
)
ipvs: fix a typo in __ip_vs_control_init()
author
Eric Dumazet
<
[email protected]
>
Mon, 21 Mar 2011 10:15:40 +0000
(10:15 +0000)
committer
David S. Miller
<
[email protected]
>
Tue, 22 Mar 2011 03:39:24 +0000
(20:39 -0700)
Reported-by: Ingo Molnar <
[email protected]
>
Signed-off-by: Eric Dumazet <
[email protected]
>
Cc: Simon Horman <
[email protected]
>
Cc: Julian Anastasov <
[email protected]
>
Acked-by: Simon Horman <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/netfilter/ipvs/ip_vs_ctl.c
patch
|
blob
|
history
diff --git
a/net/netfilter/ipvs/ip_vs_ctl.c
b/net/netfilter/ipvs/ip_vs_ctl.c
index b799cea31f954c89b9d0f97b36d3cf32ec3e18cc..33733c8872e70230587b7d1ef7f34147a3058374 100644
(file)
--- a/
net/netfilter/ipvs/ip_vs_ctl.c
+++ b/
net/netfilter/ipvs/ip_vs_ctl.c
@@
-3605,7
+3605,7
@@
int __net_init __ip_vs_control_init(struct net *net)
/* procfs stats */
ipvs->tot_stats.cpustats = alloc_percpu(struct ip_vs_cpu_stats);
- if (ipvs->tot_stats.cpustats) {
+ if (
!
ipvs->tot_stats.cpustats) {
pr_err("%s(): alloc_percpu.\n", __func__);
return -ENOMEM;
}