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

From: Nikolay Aleksandrov
Date: Thu May 13 2021 - 07:30:43 EST


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 iterate over the port instead of router
> list to be able put one router port entry with both the IPv4 and IPv6
> multicast router info later.
>
> Signed-off-by: Linus Lüssing <linus.luessing@xxxxxxxxx>
> ---
> net/bridge/br_mdb.c | 39 ++++++++++++++++++++++++++++++++++-----
> 1 file changed, 34 insertions(+), 5 deletions(-)
>

Acked-by: Nikolay Aleksandrov <nikolay@xxxxxxxxxx>