HomeFreeBSD

dummynet: fix sysctls

Description

dummynet: fix sysctls

The sysctl nodes which use V_dn_cfg must be marked as CTLFLAG_VNET so
that we use the correct per-vnet offset

PR: 256819
Reviewed by: donner
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D30974

(cherry picked from commit 8f76eebce424de064f65fec5cdd105446a2de3bd)

Details

Provenance
kpAuthored on Jul 1 2021, 7:42 AM
Reviewer
donner
Differential Revision
D30974: dummynet: fix sysctls
Parents
rGc978000da5c6: Mount and unmount devfs around calls to add packages.
Branches
Unknown
Tags
Unknown