Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 2021 19:31:14 +0100
From:      Michael Tuexen <michael.tuexen@macmic.franken.de>
To:        Gleb Smirnoff <glebius@FreeBSD.org>
Cc:        "Alexander V. Chernikov" <melifaro@freebsd.org>, src-committers <src-committers@freebsd.org>, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: c2c8e360d8c0 - main - tcp: virtualise net.inet.tcp.msl sysctl.
Message-ID:  <59738A61-7697-4924-AD10-6C76410961D5@macmic.franken.de>
In-Reply-To: <YciWVjLvg3pN0wPi@FreeBSD.org>
References:  <202112261506.1BQF64Cm080930@gitrepo.freebsd.org> <YciWVjLvg3pN0wPi@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 26. Dec 2021, at 17:20, Gleb Smirnoff <glebius@FreeBSD.org> wrote:
>=20
> On Sun, Dec 26, 2021 at 03:06:04PM +0000, Alexander V. Chernikov =
wrote:
> A> commit c2c8e360d8c0b8712158d334686d88f052aef819
> A> Author:     Alexander V. Chernikov <melifaro@FreeBSD.org>
> A>=20
> A>     tcp: virtualise net.inet.tcp.msl sysctl.
> A>    =20
> A>     VNET teardown waits 2*MSL (60 seconds by default) before =
expiring
> A>      tcp PCBs. These PCBs holds references to nexthops, which, in =
turn,
> A>      reference ifnets. This chain results in VNET interfaces being =
destroyed
> A>      and moved to default VNET only after 60 seconds.
> A>     Allow tcp_msl to be set in jail by virtualising =
net.inet.tcp.msl sysctl,
> A>      permitting more predictable VNET tests outcomes.
> A>    =20
> A>     MFC after:      1 week
> A>     Reviewed by:    glebius
> A>     Differential Revision: https://reviews.freebsd.org/D33270
>=20
> Thanks! Does our test framework use some kind of boilerplate jail =
config
> so that we can enable smaller MSL for all tests at once?
Or does it make more sende to use tcpdrop -s TIME_WAIT to clean up at =
the end of the test?

Best regards
Michael
>=20
> --=20
> Gleb Smirnoff




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59738A61-7697-4924-AD10-6C76410961D5>