diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2019-11-29 20:58:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-30 20:45:29 +0300 |
commit | 395eba7d0c122c650fb8b6ae8c6815cbfdc39ca9 (patch) | |
tree | 2a5b20acc51793b5368e340fa977e8ac6d01ef30 /net/sched/sch_mqprio.c | |
parent | 5f9fc3325ef95398c363b9b7813a7e99d4d85d7d (diff) | |
download | linux-395eba7d0c122c650fb8b6ae8c6815cbfdc39ca9.tar.xz |
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 <grygorii.strashko@ti.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_mqprio.c')
0 files changed, 0 insertions, 0 deletions