Skip to content

make sysctl per namespace - V3

Daniel Lezcano netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 2 repliesIn review

Changelog from the cover letter

V3 : fixed compilation error when CONFIG_SYSCTL=n,
fixed missing initialization when CONFIG_SYSCTL=n

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10make ipv6_sysctl_register to return a valueinclude/net/ipv6.h net/ipv6/af_inet6.c net/ipv6/sysctl_net_ipv6.c+12 -40 replies
2/10make a subsystem for af_inet6net/ipv6/af_inet6.c+22 -00 replies
3/10add ipv6 structure for netnsinclude/net/net_namespace.h include/net/netns/ipv6.h+14 -00 replies
4/10make the ipv6 sysctl to be a netns subsystemnet/ipv6/sysctl_net_ipv6.c+19 -40 replies
5/10make multiple instance of sysctl tablesinclude/net/ipv6.h include/net/netns/ipv6.h net/ipv6/icmp.c +2 more+89 -140 replies
6/10make bindv6only sysctl per namespaceinclude/net/ipv6.h include/net/netns/ipv6.h net/ipv6/af_inet6.c +1 more+6 -50 replies
7/10make ip6_frags per namespaceinclude/net/ipv6.h include/net/netns/ipv6.h net/ipv6/af_inet6.c +2 more+26 -160 replies
8/10make mld_max_msf readonly in other namespacesnet/ipv6/sysctl_net_ipv6.c+6 -00 replies
9/10make sysctls route per namespaceinclude/net/ip6_route.h include/net/netns/ipv6.h net/ipv6/af_inet6.c +3 more+56 -360 replies
10/10make icmpv6_time sysctl per namespaceinclude/net/netns/ipv6.h net/ipv6/af_inet6.c net/ipv6/icmp.c +1 more+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch net-2.6.25 00/10][NETNS][IPV6] make sysctl per namespace - V3

The following patchset makes the ipv6 sysctl to handle multiple network namespaces. Each instance of a network namespace as its own set of sysctl values, that means the behavior of the ipv6 stack can be different depending on the sysctl values setup in the different network namespaces.

Changelog:
V3 : fixed compilation error when CONFIG_SYSCTL=n,
fixed missing initialization when CONFIG_SYSCTL=n

V2 : make the mld_max_msf variable readonly when we are
not in the initial network namespace

V1 : initial post