Page MenuHomeFreeBSD

tcp: remove INP_TIMEWAIT flag
ClosedPublic

Authored by glebius on Aug 31 2022, 5:12 AM.
Tags
None
Referenced Files
F97682277: D36400.diff
Mon, Sep 30, 6:26 PM
Unknown Object (File)
Tue, Sep 24, 2:22 PM
Unknown Object (File)
Thu, Sep 19, 2:39 PM
Unknown Object (File)
Mon, Sep 16, 8:25 PM
Unknown Object (File)
Mon, Sep 16, 2:36 AM
Unknown Object (File)
Sun, Sep 15, 3:28 AM
Unknown Object (File)
Sat, Sep 14, 9:59 AM
Unknown Object (File)
Sat, Sep 14, 3:19 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 47194
Build 44081: 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