Page MenuHomeFreeBSD

Use tcpstats accessor functions for kernel modules in case of RACK and BBR
ClosedPublic

Authored by tuexen on Feb 29 2020, 10:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 21, 5:34 PM
Unknown Object (File)
Mon, Jan 20, 11:59 AM
Unknown Object (File)
Thu, Jan 2, 7:49 PM
Unknown Object (File)
Dec 6 2024, 6:32 PM
Unknown Object (File)
Nov 15 2024, 1:15 AM
Unknown Object (File)
Nov 13 2024, 2:57 AM
Unknown Object (File)
Oct 24 2024, 8:25 PM
Unknown Object (File)
Oct 24 2024, 8:24 PM
Subscribers

Details

Summary

TCP RACK and TCP BBR are kernel modules. So use KMOD_TCPSTAT_INC instead of TCPSTAT_INC. Also define and use KMOD_TCPSTAT_ADD instead of TCPSTAT_ADD.

Without this, I saw crashes when using TCP RACK.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 29700