Skip to content

: Make ipv6_devconf (all and default) live in net namespaces

Pavel Emelyanov netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6: Clean out the ipv6-related sysctls creation/destructionnet/ipv6/addrconf.c+34 -290 replies
2/6: Make the __addrconf_sysctl_register return an errornet/ipv6/addrconf.c+3 -30 replies
3/6: Make the ctl-tables per-namespacenet/ipv6/addrconf.c+14 -100 replies
4/6: Create ipv6 devconf-s for namespacesinclude/net/netns/ipv6.h net/ipv6/addrconf.c+72 -120 replies
5/6: Use the per-net ipv6_devconf_dfltnet/ipv6/addrconf.c+3 -30 replies
6/6: Use the per-net ipv6_devconf(_all) in sysctl handlersnet/ipv6/addrconf.c+7 -60 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 0/6][NETNS]: Make ipv6_devconf (all and default) live in net namespaces

The ipv6_devconf_(all) and ipv6_devconf_dflt are currently global, but should be per-namespace.

This set moves them on the struct net. Or, more precisely, on the struct netns_ipv6, which is already added.

Unfortunately, many code in the ipv6 cannot yet provide a correct struct net to get the ipv6_devconf from (e.g. routing code), so this part of job is to be done after the appropriate parts are virtualized.

However, after this set user can play with the ipv6_devconf inside a namespace not affecting the others.