Bug 253066 - [tcp] tcp_rack.ko: symbol tcp_get_pacing_burst_size undefined
Summary: [tcp] tcp_rack.ko: symbol tcp_get_pacing_burst_size undefined
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 13.0-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Michael Tuexen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-28 15:08 UTC by iron.udjin
Modified: 2021-01-28 17:20 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iron.udjin 2021-01-28 15:08:04 UTC
Hello,

OS: 13.0-ALPHA2 stable/13-c256213-g03d837b565a9

I'm trying to test tcp_rack on 13-STABLE. 
I've added:

makeoptions WITH_EXTRA_TCP_STACKS=1
options TCPHPTS

...in kernel config. But when I tried to load tcp_rack module I got in dmesg:

link_elf_obj: symbol tcp_get_pacing_burst_size undefined
linker_load_file: /boot/kernel/tcp_rack.ko - unsupported file type
Comment 1 Michael Tuexen freebsd_committer freebsd_triage 2021-01-28 17:10:51 UTC
(In reply to iron.udjin from comment #0)
For using RACK in stable/13 and current you need

makeoptions     WITH_EXTRA_TCP_STACKS=1
options         TCPHPTS
options		RATELIMIT

in your kernel config, whereas in stable/12 you only need

makeoptions     WITH_EXTRA_TCP_STACKS=1
options         TCPHPTS
Comment 2 iron.udjin 2021-01-28 17:20:10 UTC
Works! Thank you. Didn't have any documentation to figure it out.

Let's close this bug.