Page MenuHomeFreeBSD

tcp: Use local CC data only in correct context
ClosedPublic

Authored by rscheff on May 26 2021, 2:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 24, 11:29 PM
Unknown Object (File)
Mon, Mar 23, 5:18 AM
Unknown Object (File)
Sat, Mar 21, 3:32 AM
Unknown Object (File)
Thu, Mar 19, 7:20 AM
Unknown Object (File)
Tue, Mar 17, 3:53 PM
Unknown Object (File)
Tue, Mar 17, 7:59 AM
Unknown Object (File)
Sun, Mar 15, 10:28 AM
Unknown Object (File)
Feb 28 2026, 6:39 AM
Subscribers

Details

Summary

Many TCP CC mechanisms rely on newreno as fallback, or
to handle common behavior. Originally, cc_newreno did
not have any cc-specific data, but that changed with
D11616.

Most other CC algos do use local data, and when calling
newreno_cong_signal from there, the latter misinterprets
the data as its own struct, leading to incorrect behavior.

Doing an additional check only in newreno for now, as
no other CC interdependencies seem to exist.

Test Plan

Using CC DCTCP on a session where ECN is not negotiated
would erroneously trigger session-specific beta values
on loss, leading to unexpected TCP behavior.

Reported by: chengc_netapp.com

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks good to me. Thanks for picking this up! :)

This revision is now accepted and ready to land.May 26 2021, 2:58 PM