HomeFreeBSD

netgraph/ng_bridge: move MACs via control message

Description

netgraph/ng_bridge: move MACs via control message

Use the new control message to move ethernet addresses from a link to
a new link in ng_bridge(4). Send this message instead of doing the
work directly requires to move the loop detection into the control
message processing. This will delay the loop detection by a few
frames.

This decouples the read-only activity from the modification under a
more strict writer lock.

Reviewed by: manpages (gbe)
Differential Revision: https://reviews.freebsd.org/D28559

(cherry picked from commit f6e0c471691e0005e450ec968a9fa3b5346a3c45)

Details

Provenance
donnerAuthored on Feb 9 2021, 1:28 PM
Differential Revision
D28559: netgraph/ng_bridge: move MACs via control message
Parents
rG53ccd9249502: netgraph/ng_bridge: learn MACs via control message
Branches
Unknown
Tags
Unknown