aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorHans Schillstrom <hans.schillstrom@ericsson.com>2011-01-03 14:44:52 +0100
committerSimon Horman <horms@verge.net.au>2011-01-13 10:30:27 +0900
commit9bbac6a904d0816dae58b454692c54d6773cc20d (patch)
treef29698f1230e2a0b6fda2546f1f6da256d442979 /include/net
parentIPVS: netns, use ip_vs_proto_data as param. (diff)
downloadlinux-dev-9bbac6a904d0816dae58b454692c54d6773cc20d.tar.xz
linux-dev-9bbac6a904d0816dae58b454692c54d6773cc20d.zip
IPVS: netns, common protocol changes and use of appcnt.
appcnt and timeout_table moved from struct ip_vs_protocol to ip_vs proto_data. struct net *net added as first param to - register_app() - unregister_app() - app_conn_bind() - ip_vs_conn_new() [horms@verge.net.au: removed cosmetic-change-only hunk] 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')
-rw-r--r--include/net/ip_vs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index 464ea365ca07..cc6ae621a9b5 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -360,8 +360,6 @@ struct ip_vs_protocol {
u16 protocol;
u16 num_states;
int dont_defrag;
- atomic_t appcnt; /* counter of proto app incs */
- int *timeout_table; /* protocol timeout table */
void (*init)(struct ip_vs_protocol *pp);