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)
Fri, Jul 3, 4:44 AM
Unknown Object (File)
Thu, Jun 25, 1:13 AM
Unknown Object (File)
Wed, Jun 24, 8:22 PM
Unknown Object (File)
Sun, Jun 14, 4:26 AM
Unknown Object (File)
Fri, Jun 12, 8:41 PM
Unknown Object (File)
May 18 2026, 8:28 AM
Unknown Object (File)
May 18 2026, 8:22 AM
Unknown Object (File)
May 17 2026, 5:13 PM
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