Page MenuHomeFreeBSD

tcp: store flowid info in syncache
ClosedPublic

Authored by glebius on Aug 7 2025, 3:22 PM.
Tags
None
Referenced Files
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)
Wed, Nov 5, 4:41 AM
Unknown Object (File)
Oct 27 2025, 9:05 AM

Details

Summary

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

Diff Detail

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

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–79

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.