Skip to content

netns: make IPv6 multicast forwarding per-namespace

Benjamin Thery netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8netns: ip6mr: allocate mroute6_socket per-namespace.include/linux/mroute6.h include/net/netns/ipv6.h net/ipv6/ip6_output.c +1 more+21 -150 replies
2/8netns: ip6mr: dynamically allocates vif6_tableinclude/net/netns/ipv6.h net/ipv6/ip6mr.c+70 -390 replies
3/8netns: ip6mr: Dynamically allocates mfc6_cache_arrayinclude/net/netns/ipv6.h net/ipv6/ip6mr.c+32 -160 replies
4/8netns: ip6mr: Declare mroute_do_assert and mroute_do_pim per-namespaceinclude/net/netns/ipv6.h net/ipv6/ip6mr.c+12 -160 replies
5/8netns: ip6mr: store netns in struct mfc6_cacheinclude/linux/mroute6.h net/ipv6/ip6mr.c+34 -90 replies
6/8netns: ip6mr: declare reg_vif_num per-namespaceinclude/net/netns/ipv6.h net/ipv6/ip6mr.c+14 -80 replies
7/8netns: ip6mr: declare ip6mr /proc/net entries per-namespacenet/ipv6/ip6mr.c+59 -450 replies
8/8ipv6: netns: enable namespace support in ipv6 multicast forwarding codeinclude/linux/mroute6.h net/ipv6/ip6mr.c net/ipv6/route.c+133 -1070 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/8] netns: make IPv6 multicast forwarding per-namespace

This patchset introduces the support for network namespaces in IPv6 multicast forwarding code (net/ipv6/ip6mr.c).

The first patches in the series moves global data from ip6mr.c into struct netns_ipv6 to prepare netns support. Data are still referenced in init_net only. One of these patches makes the related /proc entries per-namespace.

The last patch does the main job and enables the network namespace support by replacing all the init_net references with the proper net retrieved from sockets or net devices.

The patchset applies on top of net-next-2.6

Regards,
Benjamin