diff options
author | Hans Schillstrom <hans.schillstrom@ericsson.com> | 2011-01-03 08:45:00 -0500 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-01-12 20:30:28 -0500 |
commit | f2431e6e9255461eb1476340a89ad32ad4b38b03 (patch) | |
tree | 934974c80d2c01b44768369ca9b188f64c6ab979 /include/net/ip_vs.h | |
parent | f6340ee0c6b9498ec918a7bb2f44e20abb8b2833 (diff) |
IPVS: netns, trash handling
trash list per namspace,
and reordering of some params in dst struct.
[ 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>
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 fbe660f95873..b23bea62f708 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h | |||
@@ -662,8 +662,8 @@ struct ip_vs_dest { | |||
662 | struct list_head d_list; /* for table with all the dests */ | 662 | struct list_head d_list; /* for table with all the dests */ |
663 | 663 | ||
664 | u16 af; /* address family */ | 664 | u16 af; /* address family */ |
665 | union nf_inet_addr addr; /* IP address of the server */ | ||
666 | __be16 port; /* port number of the server */ | 665 | __be16 port; /* port number of the server */ |
666 | union nf_inet_addr addr; /* IP address of the server */ | ||
667 | volatile unsigned flags; /* dest status flags */ | 667 | volatile unsigned flags; /* dest status flags */ |
668 | atomic_t conn_flags; /* flags to copy to conn */ | 668 | atomic_t conn_flags; /* flags to copy to conn */ |
669 | atomic_t weight; /* server weight */ | 669 | atomic_t weight; /* server weight */ |
@@ -690,8 +690,8 @@ struct ip_vs_dest { | |||
690 | /* for virtual service */ | 690 | /* for virtual service */ |
691 | struct ip_vs_service *svc; /* service it belongs to */ | 691 | struct ip_vs_service *svc; /* service it belongs to */ |
692 | __u16 protocol; /* which protocol (TCP/UDP) */ | 692 | __u16 protocol; /* which protocol (TCP/UDP) */ |
693 | union nf_inet_addr vaddr; /* virtual IP address */ | ||
694 | __be16 vport; /* virtual port number */ | 693 | __be16 vport; /* virtual port number */ |
694 | union nf_inet_addr vaddr; /* virtual IP address */ | ||
695 | __u32 vfwmark; /* firewall mark of service */ | 695 | __u32 vfwmark; /* firewall mark of service */ |
696 | }; | 696 | }; |
697 | 697 | ||