Page MenuHomeFreeBSD

tcp: store flowid info in syncache
Needs ReviewPublic

Authored by glebius on Aug 7 2025, 3:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 8, 8:34 AM
Unknown Object (File)
Wed, Oct 1, 3:48 PM
Unknown Object (File)
Wed, Sep 24, 5:14 AM
Unknown Object (File)
Sep 17 2025, 7:46 AM
Unknown Object (File)
Sep 11 2025, 5:18 AM
Unknown Object (File)
Sep 8 2025, 3:03 PM
Unknown Object (File)
Sep 1 2025, 3:02 AM
Unknown Object (File)
Aug 29 2025, 10:35 PM

Details

Reviewers
None
Group Reviewers
transport
Summary

This corrects two problems. First, retransmissions by syncache would use
correct flowid, same as synchronous responds. Second, this disables
inherting flowid for outgoing connections. The problem with outgoing
connections is that our very first SYN would go out with a different
flowid than the rest of the packets of the connection.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 66063
Build 62946: arc lint + arc unit

Event Timeline

It looks like the syncache changes just ensure that you are sending syncache driven retransmissions with the same flowid than the original one, right?
I think that part of this review is without any discussion. Why not get that in as a separate commit. That allows us to focus on the problem of the client side...