bridge: mcast: Use MDB group key from configuration structure
authorIdo Schimmel <idosch@nvidia.com>
Tue, 6 Dec 2022 10:58:05 +0000 (12:58 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Dec 2022 04:05:51 +0000 (20:05 -0800)
commit9f52a51429791737eaf35c6fb5273d178ec005d9
treeca2aea096303494a64b31ed816c8a4c809f6b7dc
parent8bd9c08e324175051d6d8ad5b2acfeaccaa1047b
bridge: mcast: Use MDB group key from configuration structure

The MDB group key (i.e., {source, destination, protocol, VID}) is
currently determined under the multicast lock from the netlink
attributes. Instead, use the group key from the MDB configuration
structure that was prepared before acquiring the lock.

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