diff options
author | Hans Schillstrom <hans@schillstrom.com> | 2011-05-04 00:09:31 +0400 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-05-09 02:08:30 +0400 |
commit | 74973f6fbfcd1b084c3ccc75b783a6dacac94a10 (patch) | |
tree | cab144448147a7955bd1ca1378eb6cd7276f953d /net/netfilter/nf_conntrack_sip.c | |
parent | 421eab4cf318ce47c1daae391e54d1b427c6687b (diff) | |
download | linux-74973f6fbfcd1b084c3ccc75b783a6dacac94a10.tar.xz |
IPVS: init and cleanup restructuring
DESCRIPTION
This patch tries to restore the initial init and cleanup
sequences that was before namspace patch.
Netns also requires action when net devices unregister
which has never been implemented. I.e this patch also
covers when a device moves into a network namespace,
and has to be released.
IMPLEMENTATION
The number of calls to register_pernet_device have been
reduced to one for the ip_vs.ko
Schedulers still have their own calls.
This patch adds a function __ip_vs_service_cleanup()
and an enable flag for the netfilter hooks.
The nf hooks will be enabled when the first service is loaded
and never disabled again, except when a namespace exit starts.
Signed-off-by: Hans Schillstrom <hans@schillstrom.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
[horms@verge.net.au: minor edit to changelog]
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/nf_conntrack_sip.c')
0 files changed, 0 insertions, 0 deletions