HomeFreeBSD

lagg(4): Correctly define some sysctl variables

Description

lagg(4): Correctly define some sysctl variables

939a050ad96c virtualized lagg(4), but the corresponding sysctl of some
virtualized global variables are not marked with CTLFLAG_VNET. A try to
operate on those variables via sysctl will effectively go to the 'master'
copies and the virtualized ones are not read or set accordingly. As a
side effect, on updating the 'master' copy, the virtualized global
variables of newly created vnets will have correct values.

PR: 270705
Reviewed by: kp
Fixes: 939a050ad96c Virtualize lagg(4) cloner
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D39467

Details

Provenance
zleiAuthored on Apr 17 2023, 10:24 AM
Reviewer
kp
Differential Revision
D39467: lagg(4): Correctly define some sysctl variables
Parents
rGa7acce349198: vnet: Fix a typo in a source code comment
Branches
Unknown
Tags
Unknown