Page MenuHomeFreeBSD

tcp_timewait: use on stack struct tcptw as last resort
ClosedPublic

Authored by glebius on Nov 12 2021, 5:11 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.