Skip to content

make sysctl per namespace

Daniel Lezcano netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9make ipv6_sysctl_register to return a valueinclude/net/ipv6.h net/ipv6/af_inet6.c net/ipv6/sysctl_net_ipv6.c+10 -30 replies
2/9make the ipv6 sysctl to be a netns subsystemnet/ipv6/sysctl_net_ipv6.c+18 -30 replies
3/9make ipv6 structure for netnsinclude/net/net_namespace.h include/net/netns/ipv6.h+12 -00 replies
4/9make multiple instance of sysctl tablesinclude/net/ipv6.h include/net/netns/ipv6.h net/ipv6/icmp.c +2 more+88 -150 replies
5/9make bindv6only sysctl per namespaceinclude/net/ipv6.h include/net/netns/ipv6.h net/ipv6/af_inet6.c +1 more+7 -54 replies
6/9make ip6_frags per namespaceinclude/net/ipv6.h include/net/netns/ipv6.h net/ipv6/reassembly.c +1 more+26 -160 replies
7/9make mld_max_msf readonly in other namespacesnet/ipv6/sysctl_net_ipv6.c+3 -00 replies
8/9make sysctls route per namespaceinclude/net/ip6_route.h include/net/netns/ipv6.h net/ipv6/ip6_fib.c +2 more+55 -360 replies
9/9make icmpv6_time sysctl per namespaceinclude/net/netns/ipv6.h net/ipv6/icmp.c net/ipv6/sysctl_net_ipv6.c+6 -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 0/9][NETNS][IPV6] make sysctl per namespace

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:

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

V1 : initial post