diff options
author | Julian Anastasov | 2013-03-22 10:46:50 +0100 |
---|---|---|
committer | Pablo Neira Ayuso | 2013-04-02 00:23:56 +0200 |
commit | ed3ffc4e48e2b03d5b23988f3cfa0ad8d79e0092 (patch) | |
tree | a72065ed64d14aeb3d8504221af3ed6925576c6a /net/netfilter/ipvs/ip_vs_ctl.c | |
parent | ipvs: reorganize dest trash (diff) | |
download | kernel-qcow2-linux-ed3ffc4e48e2b03d5b23988f3cfa0ad8d79e0092.tar.gz kernel-qcow2-linux-ed3ffc4e48e2b03d5b23988f3cfa0ad8d79e0092.tar.xz kernel-qcow2-linux-ed3ffc4e48e2b03d5b23988f3cfa0ad8d79e0092.zip |
ipvs: do not expect result from done_service
This method releases the scheduler state,
it can not fail. Such change will help to properly
replace the scheduler in following patch.
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_ctl.c')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_ctl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c index 80d366b7daab..d02272685dda 100644 --- a/net/netfilter/ipvs/ip_vs_ctl.c +++ b/net/netfilter/ipvs/ip_vs_ctl.c @@ -1334,10 +1334,7 @@ ip_vs_edit_service(struct ip_vs_service *svc, struct ip_vs_service_user_kern *u) /* * Unbind the old scheduler */ - if ((ret = ip_vs_unbind_scheduler(svc))) { - old_sched = sched; - goto out_unlock; - } + ip_vs_unbind_scheduler(svc); /* * Bind the new scheduler |