Page MenuHomeFreeBSD

tcp_timewait: use on stack struct tcptw as last resort
ClosedPublic

Authored by glebius on Nov 12 2021, 5:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 11:54 AM
Unknown Object (File)
Sat, Oct 11, 11:54 AM
Unknown Object (File)
Sat, Oct 11, 11:54 AM
Unknown Object (File)
Sat, Oct 11, 3:52 AM
Unknown Object (File)
Sep 16 2025, 10:26 PM
Unknown Object (File)
Sep 16 2025, 7:10 AM
Unknown Object (File)
Sep 13 2025, 4:13 PM
Unknown Object (File)
Aug 15 2025, 12:16 AM
Subscribers

Details

Summary

In case we failed to uma_zalloc() and also failed to reuse with
tcp_tw_2msl_scan(), then just use on stack tcptw. This will allow
to run through tcp_twrespond() and standard tcpcb discard routine.

Diff Detail

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