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)
Thu, Sep 10, 3:53 PM
Unknown Object (File)
Sun, Sep 6, 9:09 AM
Unknown Object (File)
Sat, Sep 5, 6:04 AM
Unknown Object (File)
Sat, Sep 5, 3:51 AM
Unknown Object (File)
Fri, Sep 4, 12:33 AM
Unknown Object (File)
Tue, Sep 1, 11:47 PM
Unknown Object (File)
Tue, Sep 1, 7:51 PM
Unknown Object (File)
Sun, Aug 30, 3:59 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