diff options
| author | Shengyu Qu <[email protected]> | 2025-04-14 10:56:01 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-04-16 00:25:52 +0000 |
| commit | a496d2f0fd612ab9e10700afe00dc9267bad788b (patch) | |
| tree | 9c39cbdf7870593820eec5ae1cc0b30e4ecb9a5b /drivers/net/ethernet/intel/ice/ice_ptp.c | |
| parent | net: phy: remove redundant dependency on NETDEVICES for PHYLINK and PHYLIB (diff) | |
| download | kernel-a496d2f0fd612ab9e10700afe00dc9267bad788b.tar.gz kernel-a496d2f0fd612ab9e10700afe00dc9267bad788b.zip | |
net: bridge: locally receive all multicast packets if IFF_ALLMULTI is set
If multicast snooping is enabled, multicast packets may not always end up
on the local bridge interface, if the host is not a member of the multicast
group. Similar to how IFF_PROMISC allows all packets to be received
locally, let IFF_ALLMULTI allow all multicast packets to be received.
OpenWrt uses a user space daemon for DHCPv6/RA/NDP handling, and in relay
mode it sets the ALLMULTI flag in order to receive all relevant queries on
the network.
This works for normal network interfaces and non-snooping bridges, but not
snooping bridges (unless multicast routing is enabled).
Reported-by: Felix Fietkau <[email protected]>
Closes: https://github.com/openwrt/openwrt/issues/15857#issuecomment-2662851243
Signed-off-by: Shengyu Qu <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Link: https://patch.msgid.link/OSZPR01MB8434308370ACAFA90A22980798B32@OSZPR01MB8434.jpnprd01.prod.outlook.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ptp.c')
0 files changed, 0 insertions, 0 deletions
