HomeFreeBSD

netgraph/ng_bridge: Merge internal structures

Description

netgraph/ng_bridge: Merge internal structures

In a earlier version of ng_bridge(4) the exernal visible host entry
structure was a strict subset of the internal one. So internal view
was a direct annotation of the external structure. This strict
inheritance was lost many versions ago. There is no need to
encapsulate a part of the internal represntation as a separate
structure.

This patch is a preparation to make the internal structure read only
in the data path in order to make ng_bridge(4) multithreaded.

Reviewed by: kp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D28545

Details

Provenance
donnerAuthored on Feb 8 2021, 9:36 PM
Reviewer
kp
Differential Revision
D28545: netgraph/ng_bridge: Merge internal host entry structures.
Parents
R10:e9d419a05357: Set file mode during zfs_write
Branches
Unknown
Tags
Unknown