diff options
author | Hans Schillstrom <hans.schillstrom@ericsson.com> | 2011-01-03 08:44:54 -0500 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-01-12 20:30:28 -0500 |
commit | 29c2026fd4980c144d9c746dc1565060f08e5796 (patch) | |
tree | 37373a66fac997e01c83e774c21e00dca713598a /include/net/netns | |
parent | ab8a5e8408c3df2d654611bffc3aaf04f418b266 (diff) |
IPVS: netns awareness to ip_vs_est
All variables moved to struct ipvs,
most external changes fixed (i.e. init_net removed)
*v3
timer per ns instead of a common timer in estimator.
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>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/ip_vs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/netns/ip_vs.h b/include/net/netns/ip_vs.h index 03f7fe1bede6..db0240198339 100644 --- a/include/net/netns/ip_vs.h +++ b/include/net/netns/ip_vs.h | |||
@@ -70,6 +70,10 @@ struct netns_ipvs { | |||
70 | int sysctl_lblcr_expiration; | 70 | int sysctl_lblcr_expiration; |
71 | struct ctl_table_header *lblcr_ctl_header; | 71 | struct ctl_table_header *lblcr_ctl_header; |
72 | struct ctl_table *lblcr_ctl_table; | 72 | struct ctl_table *lblcr_ctl_table; |
73 | /* ip_vs_est */ | ||
74 | struct list_head est_list; /* estimator list */ | ||
75 | spinlock_t est_lock; | ||
76 | struct timer_list est_timer; /* Estimation timer */ | ||
73 | }; | 77 | }; |
74 | 78 | ||
75 | #endif /* IP_VS_H_ */ | 79 | #endif /* IP_VS_H_ */ |