HomeFreeBSD

netgraph/ng_bridge: learn MACs via control message

Description

netgraph/ng_bridge: learn MACs via control message

Add a new control message to move ethernet addresses to a given link
in ng_bridge(4). Send this message instead of doing the work directly.
This decouples the read-only activity from the modification under a
more strict writer lock.

Decoupling the work is a prerequisite for multithreaded operation.

Approved by: manpages (bcr), kp (earlier version)
Differential Revision: https://reviews.freebsd.org/D28516

(cherry picked from commit b1bd44732d8332930dc6a17092f47a201caff1ef)

Details

Provenance
donnerAuthored on May 4 2021, 8:14 PM
Differential Revision
D28516: netgraph/ng_bridge: learn MACs via control message
Parents
rGff4447ac31ca: pf: fix ioctl() memory leak
Branches
Unknown
Tags
Unknown