aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_multiq.c
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2019-11-29 19:58:09 +0200
committerDavid S. Miller <davem@davemloft.net>2019-11-30 09:45:29 -0800
commit395eba7d0c122c650fb8b6ae8c6815cbfdc39ca9 (patch)
tree2a5b20acc51793b5368e340fa977e8ac6d01ef30 /net/sched/sch_multiq.c
parentnet/mlx5e: Fix build error without IPV6 (diff)
downloadlinux-dev-395eba7d0c122c650fb8b6ae8c6815cbfdc39ca9.tar.xz
linux-dev-395eba7d0c122c650fb8b6ae8c6815cbfdc39ca9.zip
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_multiq.c')
0 files changed, 0 insertions, 0 deletions