Page MenuHomeFreeBSD

tcp: remove INP_TIMEWAIT flag
ClosedPublic

Authored by glebius on Aug 31 2022, 5:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 6:38 AM
Unknown Object (File)
Tue, Apr 16, 4:25 AM
Unknown Object (File)
Mar 14 2024, 6:26 AM
Unknown Object (File)
Mar 14 2024, 6:26 AM
Unknown Object (File)
Mar 14 2024, 6:26 AM
Unknown Object (File)
Mar 10 2024, 10:30 PM
Unknown Object (File)
Jan 5 2024, 6:33 PM
Unknown Object (File)
Jan 5 2024, 6:29 PM
Subscribers

Details

Summary

Mechanically cleanup INP_TIMEWAIT from the kernel sources. After
the step 1, this commit shall not cause any functional changes.

Note: this flag was very often checked together with INP_DROPPED.
If we modify in_pcblookup*() not to return INP_DROPPED pcbs, we
will be able to remove most of this checks and turn them to
assertions. Some of them can be turned into assertions right now,
but that should be carefully done on a case by case basis.

Diff Detail

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

Event Timeline

glebius retitled this revision from tcp: remove compressed timewait state structure, step 2 to tcp: remove INP_TIMEWAIT flag.Oct 5 2022, 4:59 PM
This revision is now accepted and ready to land.Oct 7 2022, 12:10 PM