HomeFreeBSD

bridge: Remove members when assigned to a new vnet

Description

bridge: Remove members when assigned to a new vnet

When the bridge is moved to a different vnet we must remove all of its
member interfaces (and span interfaces), because we don't know if those
will be moved along with it. We don't want to hold references to
interfaces not in our vnet.

Reviewed by: donner@
MFC after: 1 week
Sponsored by: Orange Business Services
Differential Revision: https://reviews.freebsd.org/D28859

Details

Provenance
kpAuthored on Sun, Feb 21, 8:20 PM
Differential Revision
D28859: bridge: Remove members when assigned to a new vnet
Parents
R10:89fa9c34d76b: bridge/stp: Ensure we enter NET_EPOCH whenever we can send traffic
Branches
Unknown
Tags
Unknown