HomeFreeBSD

vnet: (read) lock the vnet list while iterating it

Description

vnet: (read) lock the vnet list while iterating it

Ensure that the vnet list cannot be modified while we're running through
it.

Reviewed by: mjg (previous version), zlei (previous version)
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D42927

Details

Provenance
kpAuthored on Dec 5 2023, 7:08 PM
Reviewer
mjg
Differential Revision
D42927: vnet: (read) lock the vnet list while iterating it
Parents
rG3878bbf1bb9e: Teach if_smsc to get MAC from bootargs.
Branches
Unknown
Tags
Unknown