Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2021 17:44:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 256538] [tcp] cc_algo:htcp is not NEWRENO:newreno
Message-ID:  <bug-256538-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256538

            Bug ID: 256538
           Summary: [tcp] cc_algo:htcp is not NEWRENO:newreno
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: iron.udjin@gmail.com

Hello,

A few days ago after merge of changes to TCP RACK to 13-STABLE I've discove=
red
two problems:

1.

kernel config:
makeoptions WITH_EXTRA_TCP_STACKS=3D1
options TCPHPTS
options RATELIMIT

loader.conf:
cc_htcp_load=3D"YES"
tcp_rack_load=3D"YES"

sysctl.conf:
net.inet.tcp.cc.algorithm=3Dhtcp

After build stable/13-n245948-fc53b7269fed in dmesg I see constantly repeat=
ing
messages:
kernel: cc_algo:htcp is not NEWRENO:newreno

2.

If I disable INET6 in kernel config, kernel build fails with:

cc -target x86_64-unknown-freebsd13.0
--sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -O2 -pipe -march=3Dna=
tive
-mtune=3Dnative -fno-common -DMODNAME=3Dtcp_rack -DSTACKNAME=3Drack=20
-fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc=20=
=20
-DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/amd64.amd64/sys/IRON/opt_global.h -I. -I/usr/src/sys
-I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer
-fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include
-fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include
-I/usr/obj/usr/src/amd64.amd64/sys/IRON     -MD  -MF.depend.rack.o -MTrack.o
-mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float=20
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv -Wall -Wredundant-de=
cls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -Wno-error-unused-function
-Wno-error-pointer-sign -Wno-error-shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx=20
-std=3Diso9899:1999 -c
/usr/src/sys/modules/tcp/rack/../../../netinet/tcp_stacks/rack.c -o rack.o
/usr/src/sys/modules/tcp/rack/../../../netinet/tcp_stacks/rack.c:17676:8:
error: use of undeclared identifier 'isipv6'
                        if (isipv6)
                            ^
1 error generated.
*** Error code 1

Please let me know if you need any addition info.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256538-227>