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.
Paths
| Differential D23904 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
Event TimelineHerald added a reviewer: transport. · View Herald TranscriptFeb 29 2020, 10:41 PM2020-02-29 22:41:48 (UTC+0) Harbormaster completed remote builds in B29700: Diff 69018.Feb 29 2020, 10:42 PM2020-02-29 22:42:00 (UTC+0) This revision is now accepted and ready to land.Mar 12 2020, 2:46 PM2020-03-12 14:46:54 (UTC+0)
Revision Contents
Diff 69018 sys/netinet/tcp_input.c
sys/netinet/tcp_stacks/bbr.c
sys/netinet/tcp_stacks/rack.c
sys/netinet/tcp_stacks/rack_bbr_common.c
|
Use SPR_DSCR here.