Re: [PATCH v2] net: ethernet: ti: ale: ensure vlan/mdb deleted when no members
From: David Miller
Date: Sat Nov 30 2019 - 12:46:14 EST
From: Grygorii Strashko <grygorii.strashko@xxxxxx>
Date: Fri, 29 Nov 2019 19:58:09 +0200
> 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@xxxxxx>
Applied.