IPVS: netns, add basic init per netns.
Preparation for network name-space init, in this stage some empty functions exists. In most files there is a check if it is root ns i.e. init_net if (!net_eq(net, &init_net)) return ... this will be removed by the last patch, when enabling name-space. *v3 ip_vs_conn.c merge error corrected. net_ipvs #ifdef removed as sugested by Jan Engelhardt [ horms@verge.net.au: Removed whitespace-change-only hunks ] 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>
Showing
- include/net/ip_vs.h 11 additions, 0 deletionsinclude/net/ip_vs.h
- include/net/net_namespace.h 2 additions, 0 deletionsinclude/net/net_namespace.h
- include/net/netns/ip_vs.h 25 additions, 0 deletionsinclude/net/netns/ip_vs.h
- net/netfilter/ipvs/ip_vs_app.c 24 additions, 4 deletionsnet/netfilter/ipvs/ip_vs_app.c
- net/netfilter/ipvs/ip_vs_conn.c 28 additions, 6 deletionsnet/netfilter/ipvs/ip_vs_conn.c
- net/netfilter/ipvs/ip_vs_core.c 61 additions, 2 deletionsnet/netfilter/ipvs/ip_vs_core.c
- net/netfilter/ipvs/ip_vs_ctl.c 40 additions, 9 deletionsnet/netfilter/ipvs/ip_vs_ctl.c
- net/netfilter/ipvs/ip_vs_est.c 19 additions, 1 deletionnet/netfilter/ipvs/ip_vs_est.c
- net/netfilter/ipvs/ip_vs_ftp.c 30 additions, 4 deletionsnet/netfilter/ipvs/ip_vs_ftp.c
- net/netfilter/ipvs/ip_vs_lblc.c 34 additions, 3 deletionsnet/netfilter/ipvs/ip_vs_lblc.c
- net/netfilter/ipvs/ip_vs_lblcr.c 34 additions, 4 deletionsnet/netfilter/ipvs/ip_vs_lblcr.c
- net/netfilter/ipvs/ip_vs_proto.c 19 additions, 0 deletionsnet/netfilter/ipvs/ip_vs_proto.c
- net/netfilter/ipvs/ip_vs_sync.c 27 additions, 0 deletionsnet/netfilter/ipvs/ip_vs_sync.c
Loading
Please register or sign in to comment