Re: [Bridge] [net-next v3 03/11] net: bridge: mcast: prepare mdb netlink for mcast router split

2021-05-13 Thread Nikolay Aleksandrov
On 13/05/2021 02:19, Linus Lüssing wrote: > In preparation for the upcoming split of multicast router state into > their IPv4 and IPv6 variants and to avoid IPv6 #ifdef clutter later add > some inline functions for the protocol specific parts in the mdb router > netlink code. Also the we need

[Bridge] [net-next v3 03/11] net: bridge: mcast: prepare mdb netlink for mcast router split

2021-05-12 Thread Linus Lüssing
In preparation for the upcoming split of multicast router state into their IPv4 and IPv6 variants and to avoid IPv6 #ifdef clutter later add some inline functions for the protocol specific parts in the mdb router netlink code. Also the we need iterate over the port instead of router list to be