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)
Thu, Dec 11, 7:50 AM
Unknown Object (File)
Sat, Dec 6, 7:37 AM
Unknown Object (File)
Wed, Dec 3, 12:11 AM
Unknown Object (File)
Tue, Dec 2, 3:04 PM
Unknown Object (File)
Nov 24 2025, 5:27 AM
Unknown Object (File)
Nov 21 2025, 3:04 AM
Unknown Object (File)
Nov 21 2025, 3:04 AM
Unknown Object (File)
Nov 21 2025, 3:03 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