HomeFreeBSD

netgraph/ng_bridge: Document staleness in multithreaded operation

Description

netgraph/ng_bridge: Document staleness in multithreaded operation

In the data path of ng_bridge(4), the only value of the host struct,
which needs to be modified, is the staleness, which is reset every
time a frame is received. It's save to leave the code as it is.

This patch is part of a series to make ng_bridge(4) multithreaded.

Reviewed by: kp
Differential Revision: https://reviews.freebsd.org/D28546

(cherry picked from commit 011b7317dbb5038a95b9b4fca050325a62f3991e)

Details

Provenance
donnerAuthored on Feb 9 2021, 11:32 AM
Reviewer
kp
Differential Revision
D28546: netgraph/ng_bridge: Document staleness in multithreaded operation
Parents
rG0952f69003e8: netgraph/ng_bridge: Merge internal structures
Branches
Unknown
Tags
Unknown