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.

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
Unit Tests Skipped
Build Status
Buildable 29700