OSDN Git Service

bridge: mcast: Use correct define in MDB dump
authorIdo Schimmel <idosch@nvidia.com>
Thu, 9 Feb 2023 07:18:49 +0000 (09:18 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 11 Feb 2023 03:21:13 +0000 (19:21 -0800)
commitccd7f25b5b04869ed0786323940b8d1642459cc0
treed39215861bbf1119e50e5fd448bd581b235185cf
parentee7e1788ae3d4e35e194a7b1340b5103fbc74d68
bridge: mcast: Use correct define in MDB dump

'MDB_PG_FLAGS_PERMANENT' and 'MDB_PERMANENT' happen to have the same
value, but the latter is uAPI and cannot change, so use it when dumping
an MDB entry.

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