]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: dsa: hellcreek: Fix insertion of static FDB entries
authorKurt Kanzenbach <kurt@linutronix.de>
Tue, 14 Dec 2021 13:45:05 +0000 (14:45 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Dec 2021 02:46:28 +0000 (18:46 -0800)
commit4db4c3ea56978086ca367a355e440de17d534827
treea0af692f1614083ece52d4e1ac0c1bdeadb7f63c
parent9280ac2e6f199cddcd746a9ba459136b8666287b
net: dsa: hellcreek: Fix insertion of static FDB entries

The insertion of static FDB entries ignores the pass_blocked bit. That bit is
evaluated with regards to STP. Add the missing functionality.

Fixes: e4b27ebc780f ("net: dsa: Add DSA driver for Hirschmann Hellcreek switches")
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/hirschmann/hellcreek.c