mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
net: dsa: microchip: ksz8: Separate static MAC table operations for code reuse
[ Upstream commitf6636ff69e] Move static MAC table operations to separate functions in order to reuse the code for add/del_fdb. This is needed to address kernel warnings caused by the lack of fdb add function support in the current driver. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Stable-dep-of:4bdf79d686("net: dsa: microchip: correct KSZ8795 static MAC table access") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
155f594534
commit
e4820a764e
1 changed files with 23 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue