[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210515164457.GA1387203@roeck-us.net>
Date: Sat, 15 May 2021 09:44:57 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Linus Lüssing <linus.luessing@...3.blue>
Cc: netdev@...r.kernel.org, Roopa Prabhu <roopa@...dia.com>,
Nikolay Aleksandrov <nikolay@...dia.com>,
Jakub Kicinski <kuba@...nel.org>,
"David S . Miller" <davem@...emloft.net>,
bridge@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [net-next v4 05/11] net: bridge: mcast: prepare is-router
function for mcast router split
On Thu, May 13, 2021 at 03:20:47PM +0200, Linus Lüssing wrote:
> In preparation for the upcoming split of multicast router state into
> their IPv4 and IPv6 variants make br_multicast_is_router() protocol
> family aware.
>
> Note that for now br_ip6_multicast_is_router() uses the currently still
> common ip4_mc_router_timer for now. It will be renamed to
> ip6_mc_router_timer later when the split is performed.
>
> While at it also renames the "1" and "2" constants in
> br_multicast_is_router() to the MDB_RTR_TYPE_TEMP_QUERY and
> MDB_RTR_TYPE_PERM enums.
>
> Signed-off-by: Linus Lüssing <linus.luessing@...3.blue>
Just in case this hasn't been reported yet. In next-20210514:
$ git grep br_multicast_is_router
net/bridge/br_input.c: br_multicast_is_router(br, skb)) {
net/bridge/br_multicast.c: is_router = br_multicast_is_router(br, NULL);
net/bridge/br_private.h:br_multicast_is_router(struct net_bridge *br, struct sk_buff *skb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
net/bridge/br_private.h:static inline bool br_multicast_is_router(struct net_bridge *br)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Guenter
Powered by blists - more mailing lists