HomeFreeBSD

tcp_timewait: use on stack struct tcptw as last resort

Description

tcp_timewait: use on stack struct tcptw as last resort

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.

Reviewed by: rrs
Differential revision: https://reviews.freebsd.org/D32965

Details

Provenance
glebiusAuthored on Nov 19 2021, 4:24 AM
Reviewer
rrs
Differential Revision
D32965: tcp_timewait: use on stack struct tcptw as last resort
Parents
rG27a04f59646b: Add warning that MIPS is being removed in FreeBSD 14.0
Branches
Unknown
Tags
Unknown