HomeFreeBSD

tcp: virtualise net.inet.tcp.msl sysctl.

Description

tcp: virtualise net.inet.tcp.msl sysctl.

VNET teardown waits 2*MSL (60 seconds by default) before expiring
tcp PCBs. These PCBs holds references to nexthops, which, in turn,
reference ifnets. This chain results in VNET interfaces being destroyed
and moved to default VNET only after 60 seconds.
Allow tcp_msl to be set in jail by virtualising net.inet.tcp.msl sysctl,
permitting more predictable VNET tests outcomes.

MFC after: 1 week
Reviewed by: glebius
Differential Revision: https://reviews.freebsd.org/D33270

Details

Provenance
melifaroAuthored on Dec 4 2021, 10:02 PM
Reviewer
glebius
Differential Revision
D33270: tcp: virtualise net.inet.tcp.msl sysctl.
Parents
rGace3370392f8: add exuberant ctags tags file to gitignore
Branches
Unknown
Tags
Unknown