Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111668
b: refs/heads/master
c: 9e691ed
h: refs/heads/master
v: v3
  • Loading branch information
Simon Horman committed Sep 17, 2008
1 parent 8fd722c commit 501d0fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: e8ae43ec6d8fb28ceeb3eb2b9aa2de823666ba2b
refs/heads/master: 9e691ed68d94ab3047e028736641445b4cf74d67
7 changes: 4 additions & 3 deletions trunk/net/ipv4/ipvs/ip_vs_ctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ ip_vs_edit_service(struct ip_vs_service *svc, struct ip_vs_service_user_kern *u)
*/
if ((ret = ip_vs_unbind_scheduler(svc))) {
old_sched = sched;
goto out;
goto out_unlock;
}

/*
Expand All @@ -1324,12 +1324,13 @@ ip_vs_edit_service(struct ip_vs_service *svc, struct ip_vs_service_user_kern *u)
*/
ip_vs_bind_scheduler(svc, old_sched);
old_sched = sched;
goto out;
goto out_unlock;
}
}

out:
out_unlock:
write_unlock_bh(&__ip_vs_svc_lock);
out:

if (old_sched)
ip_vs_scheduler_put(old_sched);
Expand Down

0 comments on commit 501d0fa

Please sign in to comment.