IPVS: netns, defense work timer.
This patch makes defense work timer per name-space, A net ptr had to be added to the ipvs struct, since it's needed by defense_work_handler. [ horms@verge.net.au: Use cancel_delayed_work_sync() instead of cancel_rearming_delayed_work(). Found during merge conflict resoliution ] Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com> Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
committed by
Simon Horman
parent
a0840e2e16
commit
f6340ee0c6
@@ -877,7 +877,7 @@ extern const char * ip_vs_state_name(__u16 proto, int state);
|
||||
|
||||
extern void ip_vs_tcp_conn_listen(struct net *net, struct ip_vs_conn *cp);
|
||||
extern int ip_vs_check_template(struct ip_vs_conn *ct);
|
||||
extern void ip_vs_random_dropentry(void);
|
||||
extern void ip_vs_random_dropentry(struct net *net);
|
||||
extern int ip_vs_conn_init(void);
|
||||
extern void ip_vs_conn_cleanup(void);
|
||||
|
||||
|
Reference in New Issue
Block a user