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.
Differential D23904
Use tcpstats accessor functions for kernel modules in case of RACK and BBR tuexen on Feb 29 2020, 10:41 PM. Authored by Tags None Referenced Files
Details
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
|