diff options
author | Grygorii Strashko <[email protected]> | 2019-11-29 19:58:09 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-11-30 09:45:29 -0800 |
commit | 395eba7d0c122c650fb8b6ae8c6815cbfdc39ca9 (patch) | |
tree | 2a5b20acc51793b5368e340fa977e8ac6d01ef30 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 5f9fc3325ef95398c363b9b7813a7e99d4d85d7d (diff) |
net: ethernet: ti: ale: ensure vlan/mdb deleted when no members
The recently updated ALE APIs cpsw_ale_del_mcast() and
cpsw_ale_del_vlan_modify() have an issue and will not delete ALE entry even
if VLAN/mcast group has no more members. Hence fix it here and delete ALE
entry if !port_mask.
The issue affected only new cpsw switchdev driver.
Fixes: e85c14370783 ("net: ethernet: ti: ale: modify vlan/mdb api for switchdev")
Signed-off-by: Grygorii Strashko <[email protected]>
Acked-by: Ilias Apalodimas <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions