• Mugunthan V N's avatar
    drivers: net: cpsw: fix multicast flush in dual emac mode · 25906052
    Mugunthan V N authored
    Since ALE table is a common resource for both the interfaces in Dual EMAC
    mode and while bringing up the second interface in cpsw_ndo_set_rx_mode()
    all the multicast entries added by the first interface is flushed out and
    only second interface multicast addresses are added. Fixing this by
    flushing multicast addresses based on dual EMAC port vlans which will not
    affect the other emac port multicast addresses.
    
    Fixes: d9ba8f9e (driver: net: ethernet: cpsw: dual emac interface implementation)
    Cc: <stable@vger.kernel.org> # v3.9+
    Signed-off-by: default avatarMugunthan V N <mugunthanvnm@ti.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    25906052
cpsw.c 68.7 KB