HomeFreeBSD

Check the V_tcbinfo.ipi_count to hit 0 before doing the full TCP cleanup.

Description

Check the V_tcbinfo.ipi_count to hit 0 before doing the full TCP cleanup.
That way timers can finish cleanly and we do not gamble with a DELAY().

Reviewed by: gnn, jtl
Approved by: re (gjb)
Obtained from: projects/vnet
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6923

Details

Provenance
bzAuthored on Jun 23 2016, 12:34 AM
Parents
rG252a46f324ea: No longer mark TCP TW zone NO_FREE.
Branches
Unknown
Tags
Unknown
Reverted By
rGfb7c1ac5ac49: tcp: remove the looping on pcb count in tcp_destroy()