[PATCH 2/2] net: ethernet: ti: cpsw: fix lost of mcast packets while rx_mode update

2018-10-12 Thread Ivan Khoronzhuk
Whenever kernel or user decides to call rx mode update, it clears every multicast entry from forwarding table and in some time adds it again. This time can be enough to drop incoming multicast packets. That's why clear only staled multicast entries and update or add new one afterwards.

[PATCH 2/2] net: ethernet: ti: cpsw: fix lost of mcast packets while rx_mode update

2018-10-12 Thread Ivan Khoronzhuk
Whenever kernel or user decides to call rx mode update, it clears every multicast entry from forwarding table and in some time adds it again. This time can be enough to drop incoming multicast packets. That's why clear only staled multicast entries and update or add new one afterwards.