Skip to content

RFC net: support multiple independant multicast routing instances

[email protected] netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9net: fib_rules: consolidate IPv4 and DECnet ->default_pref() functions.include/net/fib_rules.h net/core/fib_rules.c net/decnet/dn_rules.c +1 more+21 -361 reply
2/9net: fib_rules: set family in fib_rule_hdr centrallynet/core/fib_rules.c net/decnet/dn_rules.c net/ipv4/fib_rules.c +1 more+1 -31 reply
3/9net: fib_rules: decouple address families from real address familiesinclude/linux/fib_rules.h net/core/rtnetlink.c net/decnet/dn_rules.c +2 more+20 -81 reply
4/9ipv4: raw: move struct raw_sock and raw_sk() to include/net/raw.hinclude/net/icmp.h include/net/raw.h+12 -111 reply
5/9ipv4: ipmr: move unres_queue and timer to per-namespace datainclude/net/netns/ipv4.h net/ipv4/ipmr.c+31 -411 reply
6/9ipv4: ipmr: remove net pointer from struct mfc_cacheinclude/linux/mroute.h net/ipv4/ipmr.c+32 -481 reply
7/9ipv4: ipmr: convert struct mfc_cache to struct list_headinclude/linux/mroute.h include/net/netns/ipv4.h net/ipv4/ipmr.c+64 -672 replies
8/9net: ipmr: move mroute data into seperate structureinclude/net/netns/ipv4.h net/ipv4/ipmr.c+200 -1821 reply
9/9net: ipmr: support multiple tablesinclude/linux/fib_rules.h include/linux/mroute.h include/net/netns/ipv4.h +3 more+361 -622 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/9] net: support multiple independant multicast routing instances

The following patches add support for multiple independant multicast routing instances. This can be useful to seperate traffic when building a multicast router that is serving multiple independant networks. Patch 09 contains a more detailed description of this feature in the changelog.

The patchset consists of the following parts:

- Patch 01 and 02 consolidate a small amount of code in the different fib_rules users.

- Patch 03 decouples fib_rules family values from real address families to allow using them in code that is not a seperate address family without increasing AF_MAX/NPROTO.

- Patch 04 moves the raw_sock/raw_sk() definitions from icmp.h to raw.h since they will also be used by ipmr in a following patch.

- Patch 05-08 contain some preparatory work and cleanup for supporting multiple multicast routing instances.

- Patch 09 contains the actual changes to support multiple multicast routing instances.

These patches have been tested using pimd by myself and using xorp by Ben Greear.

Comments welcome.