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

(cherry picked from commit f549e22901b3a391c76659bee55802b1214112fd)
(cherry picked from commit b0f026435a150933ecb6f2d1359fd1b4898657f1)
(cherry picked from commit ef3edef9ec8b7d19e5f66c385340604ab29ccc78)

Details

Provenance
zleiAuthored on Sep 27 2023, 4:23 PM
Reviewer
kp
Differential Revision
D41997: ip_mroute: Fix sysctl knobs
Parents
rG6b8183c70caa: ipfw.8: Adjust section for loader tunables
Branches
Unknown
Tags
Unknown