Merge branch 'dsa-next-fixups'
authorDavid S. Miller <davem@davemloft.net>
Wed, 9 Mar 2022 11:12:10 +0000 (11:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Mar 2022 11:12:10 +0000 (11:12 +0000)
commit1163319993f0abf8092d5f18fdff98096f7a3a73
treec7ff3a0357f2e5c86f7fff793fc18240649bbbbb
parentce7ec1b8ec784c7fe0f6180a82725ca577d12aa8
parent7e580490ac9819dd55a36be2a9b3380d1391f91b
Merge branch 'dsa-next-fixups'

Vladimir Oltean says:

====================
Incremental fixups for DSA unicast filtering

There are some bugs I've discovered in the recently merged "DSA unicast
filtering" series:
https://patchwork.kernel.org/project/netdevbpf/cover/20220302191417.1288145-1-vladimir.oltean@nxp.com/

First bug is the dereference of an uninitialized list (dp->fdbs) when
the "initial" tag protocol is placed in the device tree for the Felix
switch driver. This is a scenario I hadn't tested. It is handled by
patches 1-3.

Second bug is actually a sum of bugs that canceled each other out during
my previous testing. The MAC address change of a DSA slave interface
breaks termination for the other slave interfaces. But this actually
does not happen if the slave interface whose address is changing is
down. And even when up, traffic termination is still not broken because
we fail to properly disable host flooding. Patches 4-6 handle this for
the Felix driver (the only one benefiting from unicast filtering so far).
====================

Signed-off-by: David S. Miller <davem@davemloft.net>