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

(cherry picked from commit c2c8e360d8c0b8712158d334686d88f052aef819)

Details

Provenance
melifaroAuthored on Dec 4 2021, 10:02 PM
Reviewer
glebius
Differential Revision
D33270: tcp: virtualise net.inet.tcp.msl sysctl.
Parents
rG6663718bb496: Bump __FreeBSD_version to 1301501 after LinuxKPI and net80211
Branches
Unknown
Tags
Unknown