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
F169108752: D23904.diff
Mon, Aug 31, 10:49 AM
Unknown Object (File)
Sat, Aug 29, 8:08 PM
Unknown Object (File)
Sat, Aug 29, 10:38 AM
Unknown Object (File)
Sat, Aug 29, 1:21 AM
Unknown Object (File)
Wed, Aug 26, 6:55 PM
Unknown Object (File)
Wed, Aug 26, 6:47 PM
Unknown Object (File)
Fri, Aug 14, 5:53 PM
Unknown Object (File)
Sun, Aug 9, 4:13 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