Page MenuHomeFreeBSD

tcp: store flowid info in syncache
ClosedPublic

Authored by glebius on Aug 7 2025, 3:22 PM.
Tags
None
Referenced Files
F139445578: D51792.id159968.diff
Fri, Dec 12, 4:26 AM
Unknown Object (File)
Sat, Nov 29, 8:07 PM
Unknown Object (File)
Fri, Nov 28, 12:03 AM
Unknown Object (File)
Sat, Nov 22, 7:53 PM
Unknown Object (File)
Sat, Nov 22, 7:52 PM
Unknown Object (File)
Sat, Nov 22, 7:52 PM
Unknown Object (File)
Sat, Nov 22, 7:48 PM
Unknown Object (File)
Nov 5 2025, 4:41 AM

Details

Summary

Now retransmissions by syncache would use correct flowid, same as
synchronous responds.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68811
Build 65694: 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...

  • Rebase on main.
  • Separate tcp_input() change into its own commit.
glebius added a reviewer: gallatin.
This revision is now accepted and ready to land.Sun, Nov 23, 8:51 AM
sys/netinet/tcp_syncache.h
78

Isn't a uint8_t good enough for sc_flowtype? Wouldn't moving a uint8_t sc_flowtype before sc_flags save 4 bytes?

This revision was automatically updated to reflect the committed changes.