linux-kernelorg-stable/drivers/net
Jonas Gorski d42bce414d 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: 1da6df85c6 ("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>
2025-12-27 17:17:32 +01:00
..
arcnet
bonding
caif
can can: fix build dependency 2025-12-18 09:04:47 +01:00
dsa net: dsa: b53: skip multicast entries for fdb_dump() 2025-12-27 17:17:32 +01:00
ethernet Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue 2025-12-27 17:10:42 +01:00
fddi
fjes fjes: Add missing iounmap in fjes_hw_init() 2025-12-22 12:11:32 +01:00
hamradio
hippi
hyperv
ieee802154
ipa
ipvlan
mctp I3C for 6.19 2025-12-08 11:25:14 +09:00
mdio net: mdio: aspeed: add dummy read to avoid read-after-write issue 2025-12-22 12:06:18 +01:00
netdevsim
ovpn
pcs
phy net: phy: mediatek: fix nvmem cell reference leak in mt798x_phy_calibration 2025-12-22 12:18:54 +01:00
plip
ppp
pse-pd
slip
team team: fix check for port enabled in team_queue_override_port_prio_changed() 2025-12-23 09:07:48 +01:00
thunderbolt
usb net: usb: rtl8150: fix memory leak on usb_submit_urb() failure 2025-12-23 12:12:34 +01:00
vmxnet3
vxlan
wan
wireguard
wireless
wwan
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
loopback.c
macsec.c
macvlan.c
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
netkit.c
nlmon.c
ntb_netdev.c
pfcp.c
rionet.c
sungem_phy.c
tap.c
tun.c
tun_vnet.h
veth.c
virtio_net.c
vrf.c
vsockmon.c
xen-netfront.c