mbox series

[net-next,v2,0/2] Fix changing DSA conduit

Message ID 20240502122922.28139-1-kabel@kernel.org (mailing list archive)
Headers show
Series Fix changing DSA conduit | expand

Message

Marek BehĂșn May 2, 2024, 12:29 p.m. UTC
This series fixes an issue in the DSA code related to host interface UC
address installed into port FDB and port conduit address database when
live-changing port conduit.

The first patch refactores/deduplicates the installation/uninstallation
of the interface's MAC address and the second patch fixes the issue.

Cover letter for v1:
  https://patchwork.kernel.org/project/netdevbpf/cover/20240429163627.16031-1-kabel@kernel.org/

Marek BehĂșn (2):
  net: dsa: deduplicate code adding / deleting the port address to fdb
  net: dsa: update the unicast MAC address when changing conduit

 net/dsa/port.c | 40 +++++++++++++++++++++
 net/dsa/user.c | 97 ++++++++++++++++++++++++--------------------------
 net/dsa/user.h |  2 ++
 3 files changed, 89 insertions(+), 50 deletions(-)