OSDN Git Service

bridge: mcast: Use MDB configuration structure where possible
authorIdo Schimmel <idosch@nvidia.com>
Tue, 6 Dec 2022 10:58:03 +0000 (12:58 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Dec 2022 04:05:51 +0000 (20:05 -0800)
commitf2b5aac68117909c3ac9e660c3182fd59524242f
treeb9256dfccfa065a6708ed835c40181153d7b1e97
parent3866116815249be8a5ebfa37ddea9f1032c976a9
bridge: mcast: Use MDB configuration structure where possible

The MDB configuration structure (i.e., struct br_mdb_config) now
includes all the necessary information from the parsed RTM_{NEW,DEL}MDB
netlink messages, so use it.

This will later allow us to delete the calls to br_mdb_parse() from
br_mdb_add() and br_mdb_del().

No functional changes intended.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/bridge/br_mdb.c