]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ip_mroute: Fix sysctl knobs
authorZhenlei Huang <zlei@FreeBSD.org>
Wed, 27 Sep 2023 16:23:22 +0000 (00:23 +0800)
committerZhenlei Huang <zlei@FreeBSD.org>
Wed, 27 Sep 2023 16:23:22 +0000 (00:23 +0800)
commitf549e22901b3a391c76659bee55802b1214112fd
tree57488a057ab161e983768f8b7ac3d3e101831f57
parent2f0b059eeafc545a4ab1835d6a5290e1e2ebb47f
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
sys/netinet/ip_mroute.c