]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee93c8ca9e3a3fec445aa8e4e34ed3151d36e153
treec7ff3a0357f2e5c86f7fff793fc18240649bbbbb
parent9a038502559f0b855ce5d7eb6113c2552335ac71
parentc44431d451e6138cf4df4d9aa7e1decd1dc15226
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>