Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322445
b: refs/heads/master
c: 0a54e93
h: refs/heads/master
i:
  322443: 59f9d12
v: v3
  • Loading branch information
Julia Lawall authored and Pablo Neira Ayuso committed Aug 30, 2012
1 parent 6e4c2b4 commit 2d826d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2dba62c30ec3040ef1b647a8976fd7e6854cc7a7
refs/heads/master: 0a54e939d8c2647c711ef2369c3e73c3b7f3028c
4 changes: 3 additions & 1 deletion trunk/net/netfilter/ipvs/ip_vs_ctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1171,8 +1171,10 @@ ip_vs_add_service(struct net *net, struct ip_vs_service_user_kern *u,
goto out_err;
}
svc->stats.cpustats = alloc_percpu(struct ip_vs_cpu_stats);
if (!svc->stats.cpustats)
if (!svc->stats.cpustats) {
ret = -ENOMEM;
goto out_err;
}

/* I'm the first user of the service */
atomic_set(&svc->usecnt, 0);
Expand Down

0 comments on commit 2d826d6

Please sign in to comment.