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, Sep 6, 12:53 PM
Unknown Object (File)
Thu, Sep 5, 9:59 PM
Unknown Object (File)
Thu, Sep 5, 7:01 AM
Unknown Object (File)
Thu, Sep 5, 2:01 AM
Unknown Object (File)
Mon, Sep 2, 11:56 AM
Unknown Object (File)
Sun, Sep 1, 12:50 AM
Unknown Object (File)
Sat, Aug 31, 11:23 PM
Unknown Object (File)
Sat, Aug 31, 4:00 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