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)
Sun, Jul 26, 5:09 PM
Unknown Object (File)
Sat, Jul 25, 1:07 PM
Unknown Object (File)
Wed, Jul 22, 8:17 PM
Unknown Object (File)
Tue, Jul 21, 5:44 PM
Unknown Object (File)
Mon, Jul 20, 2:20 AM
Unknown Object (File)
Fri, Jul 3, 4:44 AM
Unknown Object (File)
Jun 25 2026, 1:13 AM
Unknown Object (File)
Jun 24 2026, 8:22 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