HomeFreeBSD

ip_mroute: Fix sysctl knobs

Description

ip_mroute: Fix sysctl knobs

The loader tunable net.inet.ip.mfchashsize does not have corresponding
sysctl MIB entry. Just add it.

While here, the sysctl variable net.inet.pim.squelch_wholepkt is actually
a loader tunable. Add sysctl flag CTLFLAG_TUN to it so that sysctl -T
will report it correctly.

Reviewed by: kp
Fixes: 443fc3176dee Introduce a number of changes to the MROUTING code
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D41997

Details

Provenance
zleiAuthored on Sep 27 2023, 4:23 PM
Reviewer
kp
Differential Revision
D41997: ip_mroute: Fix sysctl knobs
Parents
rG2f0b059eeafc: intrng: switch from MAXCPU to mp_ncpus
Branches
Unknown
Tags
Unknown