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, Aug 21, 4:21 PM
Unknown Object (File)
Thu, Aug 20, 2:50 PM
Unknown Object (File)
Thu, Aug 20, 2:49 PM
Unknown Object (File)
Mon, Aug 10, 12:33 PM
Unknown Object (File)
Tue, Aug 4, 5:58 AM
Unknown Object (File)
Mon, Aug 3, 5:50 AM
Unknown Object (File)
Sun, Aug 2, 2:22 AM
Unknown Object (File)
Thu, Jul 30, 4:12 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