]> git.ipfire.org Git - thirdparty/iproute2.git/commit
bridge: move mcast querier dumping code into a shared function
authorFabian Pfitzner <f.pfitzner@pengutronix.de>
Wed, 25 Jun 2025 08:39:13 +0000 (10:39 +0200)
committerDavid Ahern <dsahern@kernel.org>
Wed, 2 Jul 2025 14:35:30 +0000 (14:35 +0000)
commitda6fbcf63c1347f88ae91ca9f42aa2a6d4fe851a
treecb0daa368b20d68472f8a301c1db6e610389fba2
parent6331444995237782f4bdfae7d3cbef7f319d323c
bridge: move mcast querier dumping code into a shared function

Put mcast querier dumping code into a shared function. This function
will be called from the bridge utility in a later patch.

Adapt the code such that the vtb parameter is used
instead of tb[IFLA_BR_MCAST_QUERIER_STATE].

Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de>
Signed-off-by: David Ahern <dsahern@kernel.org>
include/bridge.h
ip/iplink_bridge.c
lib/bridge.c