diff options
author | Julian Anastasov <ja@ssi.bg> | 2013-03-22 05:46:50 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-04-01 18:23:56 -0400 |
commit | ed3ffc4e48e2b03d5b23988f3cfa0ad8d79e0092 (patch) | |
tree | a72065ed64d14aeb3d8504221af3ed6925576c6a /include/net/ip_vs.h | |
parent | 578bc3ef1e473abb9ea99046a307fef0094b22af (diff) |
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 'include/net/ip_vs.h')
-rw-r--r-- | include/net/ip_vs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 18aeb85079f8..4990de698576 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h | |||
@@ -806,7 +806,7 @@ struct ip_vs_scheduler { | |||
806 | /* scheduler initializing service */ | 806 | /* scheduler initializing service */ |
807 | int (*init_service)(struct ip_vs_service *svc); | 807 | int (*init_service)(struct ip_vs_service *svc); |
808 | /* scheduling service finish */ | 808 | /* scheduling service finish */ |
809 | int (*done_service)(struct ip_vs_service *svc); | 809 | void (*done_service)(struct ip_vs_service *svc); |
810 | /* scheduler updating service */ | 810 | /* scheduler updating service */ |
811 | int (*update_service)(struct ip_vs_service *svc); | 811 | int (*update_service)(struct ip_vs_service *svc); |
812 | /* dest is linked */ | 812 | /* dest is linked */ |
@@ -1392,7 +1392,7 @@ extern int register_ip_vs_scheduler(struct ip_vs_scheduler *scheduler); | |||
1392 | extern int unregister_ip_vs_scheduler(struct ip_vs_scheduler *scheduler); | 1392 | extern int unregister_ip_vs_scheduler(struct ip_vs_scheduler *scheduler); |
1393 | extern int ip_vs_bind_scheduler(struct ip_vs_service *svc, | 1393 | extern int ip_vs_bind_scheduler(struct ip_vs_service *svc, |
1394 | struct ip_vs_scheduler *scheduler); | 1394 | struct ip_vs_scheduler *scheduler); |
1395 | extern int ip_vs_unbind_scheduler(struct ip_vs_service *svc); | 1395 | extern void ip_vs_unbind_scheduler(struct ip_vs_service *svc); |
1396 | extern struct ip_vs_scheduler *ip_vs_scheduler_get(const char *sched_name); | 1396 | extern struct ip_vs_scheduler *ip_vs_scheduler_get(const char *sched_name); |
1397 | extern void ip_vs_scheduler_put(struct ip_vs_scheduler *scheduler); | 1397 | extern void ip_vs_scheduler_put(struct ip_vs_scheduler *scheduler); |
1398 | extern struct ip_vs_conn * | 1398 | extern struct ip_vs_conn * |