[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <12a687d5-cc87-4993-aec2-07ea799ce334@blackwall.org>
Date: Tue, 3 Dec 2024 13:25:57 +0200
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Fabian Pfitzner <f.pfitzner@...gutronix.de>, netdev@...r.kernel.org
Cc: dsahern@...il.com, entwicklung@...gutronix.de, roopa@...dia.com,
bridge@...ts.linux-foundation.org, stephen@...workplumber.org
Subject: Re: [PATCH v3 iproute] bridge: dump mcast querier state
On 01/11/2024 13:50, Fabian Pfitzner wrote:
> Kernel support for dumping the multicast querier state was added in this
> commit [1]. As some people might be interested to get this information
> from userspace, this commit implements the necessary changes to show it
> via
>
> ip -d link show [dev]
>
> The querier state shows the following information for IPv4 and IPv6
> respectively:
>
> 1) The ip address of the current querier in the network. This could be
> ourselves or an external querier.
> 2) The port on which the querier was seen
> 3) Querier timeout in seconds
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c7fa1d9b1fb179375e889ff076a1566ecc997bfc
>
> Signed-off-by: Fabian Pfitzner <f.pfitzner@...gutronix.de>
> ---
>
> v1->v2
> - refactor code
> - link to v1: https://lore.kernel.org/netdev/20241025142836.19946-1-f.pfitzner@pengutronix.de/
> v2->v3
> - use print_color_string for addresses
> - link to v2: https://lore.kernel.org/netdev/20241030222136.3395120-1-f.pfitzner@pengutronix.de/
>
> ip/iplink_bridge.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 60 insertions(+)
>
Sorry for the delayed review, I missed the new version.
I have one small nit if there's another version: drop the extra new line between
the definition of bqtb and other_time, other than that looks good to me.
Acked-by: Nikolay Aleksandrov <razor@...ckwall.org>
Powered by blists - more mailing lists