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, Jun 14, 4:26 AM
Unknown Object (File)
Fri, Jun 12, 8:41 PM
Unknown Object (File)
Mon, May 18, 8:28 AM
Unknown Object (File)
Mon, May 18, 8:22 AM
Unknown Object (File)
Sun, May 17, 5:13 PM
Unknown Object (File)
Sun, May 17, 5:06 PM
Unknown Object (File)
May 15 2026, 9:57 PM
Unknown Object (File)
May 15 2026, 9:57 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