diff options
| author | Maxim Konovalov <maxim@FreeBSD.org> | 2026-10-16 22:15:00 +0000 |
|---|---|---|
| committer | Maxim Konovalov <maxim@FreeBSD.org> | 2026-10-17 18:19:45 +0000 |
| commit | 7668705cb9837d4c3a6db9b3434b3a522220c8ea (patch) | |
| tree | 707145dc64b804307d7c42bef25997f4f9c730ea /usr.sbin/pmc/view.hh | |
| parent | 7ccf9ae50ce4e3df8ec2acd1e36aa4f6390629d1 (diff) | |
The net.inet.tcp.rack.measure.wma_divisor sysctl is the divisor
of the goodput weighted moving average used when the dynamic
goodput multiplier is enabled. Setting it to 0 panics the kernel.
Make the variable and the sysctl unsigned, reject 0 and values
above INT32_MAX.
MFC after: 1 month
Found with: Claude Code Opus 5.5
Reviewed by: tuexen, glebius, markj (early version)
Differential Revision: https://reviews.freebsd.org/D60759
Diffstat (limited to 'usr.sbin/pmc/view.hh')
0 files changed, 0 insertions, 0 deletions
