Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f40f94fc authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

ipvs: fix a typo in __ip_vs_control_init()



Reported-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Cc: Simon Horman <horms@verge.net.au>
Cc: Julian Anastasov <ja@ssi.bg>
Acked-by: default avatarSimon Horman <horms@verge.net.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 675071a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}