summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2025-12-17 21:57:56 +0100
committerPaolo Abeni <pabeni@redhat.com>2025-12-27 17:17:32 +0100
commitd42bce414d1c5c0b536758466a1f63ac358e613c (patch)
tree64ab9aaf84f4c8364c0973e0b9771f5ea6463d86 /tools/perf/scripts/python/git@git.tavy.me:linux-stable.git
parent352df98b7b4f94a2e0e1265d469c0926a6d1b282 (diff)
net: dsa: b53: skip multicast entries for fdb_dump()
port_fdb_dump() is supposed to only add fdb entries, but we iterate over the full ARL table, which also includes multicast entries. So check if the entry is a multicast entry before passing it on to the callback(). Additionally, the port of those entries is a bitmask, not a port number, so any included entries would have even be for the wrong port. Fixes: 1da6df85c6fb ("net: dsa: b53: Implement ARL add/del/dump operations") Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://patch.msgid.link/20251217205756.172123-1-jonas.gorski@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions