]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - net/netfilter/ipvs/ip_vs_ctl.c
ipvs: do not expect result from done_service
[mirror_ubuntu-zesty-kernel.git] / net / netfilter / ipvs / ip_vs_ctl.c
index 80d366b7daabb893e3216de30b5fed3ebc041dda..d02272685dda643bfe518d92757ca3cc389a517d 100644 (file)
@@ -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