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)
Oct 9 2024, 9:31 PM
Unknown Object (File)
Sep 30 2024, 8:25 PM
Unknown Object (File)
Sep 30 2024, 6:26 PM
Unknown Object (File)
Sep 24 2024, 2:22 PM
Unknown Object (File)
Sep 19 2024, 2:39 PM
Unknown Object (File)
Sep 16 2024, 8:25 PM
Unknown Object (File)
Sep 16 2024, 2:36 AM
Unknown Object (File)
Sep 15 2024, 3:28 AM
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