diff options
| author | Murali Karicheri <[email protected]> | 2020-08-24 15:10:53 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-08-25 15:49:37 +0000 |
| commit | 2c6500e82e5190b038f0b79f85a20da55bdd4b86 (patch) | |
| tree | 4099ec272433fa3b4165497ef8e66cea51947514 /drivers/net/wan/lapbether.c | |
| parent | net: ethernet: ti: cpsw: fix clean up of vlan mc entries for host port (diff) | |
| download | kernel-2c6500e82e5190b038f0b79f85a20da55bdd4b86.tar.gz kernel-2c6500e82e5190b038f0b79f85a20da55bdd4b86.zip | |
net: ethernet: ti: cpsw_new: fix clean up of vlan mc entries for host port
To flush the vid + mc entries from ALE, which is required when a VLAN
interface is removed, driver needs to call cpsw_ale_flush_multicast()
with ALE_PORT_HOST for port mask as these entries are added only for
host port. Without this, these entries remain in the ALE table even
after removing the VLAN interface. cpsw_ale_flush_multicast() calls
cpsw_ale_flush_mcast which expects a port mask to do the job.
Fixes: ed3525eda4c4 ("net: ethernet: ti: introduce cpsw switchdev based driver part 1 - dual-emac")
Signed-off-by: Murali Karicheri <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions
