Page MenuHomeFreeBSD

tests: Add a test for races between between if_detach() and vnet_if_return()
ClosedPublic

Authored by zlei on Apr 23 2026, 8:58 PM.
Tags
None
Referenced Files
F157886547: D56609.id176297.diff
Tue, May 26, 4:23 AM
F157885749: D56609.id176297.diff
Tue, May 26, 4:13 AM
F157826070: D56609.id176665.diff
Mon, May 25, 3:32 PM
F157825631: D56609.id176665.diff
Mon, May 25, 3:24 PM
Unknown Object (File)
Mon, May 18, 8:22 AM
Unknown Object (File)
Mon, May 18, 8:18 AM
Unknown Object (File)
Tue, May 12, 10:30 PM
Unknown Object (File)
Tue, May 12, 2:48 PM

Details

Summary

ng_eiface(4) or physical interfaces does not involve cloner hence the
detaching is a bit different with epair(4). Add more tests to cover
that.

PR: 292993
MFC after: 5 days

Test Plan

Run against stable/15 and stable/14, with / without D56374 .

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

zlei requested review of this revision.Apr 23 2026, 8:58 PM
tests/sys/netgraph/eiface_test.sh
33

tests/ci/tools/ci.conf exists on CURRENT and stable/15 to load the required modules, but not on stable/14. Shall load required modules in the test case ?

This revision was not accepted when it landed; it landed in state Needs Review.Mon, Apr 27, 7:21 PM
This revision was automatically updated to reflect the committed changes.
tests/sys/netgraph/eiface_test.sh
33

tests/ci/tools/ci.conf exists on CURRENT and stable/15 to load the required modules, but not on stable/14. Shall load required modules in the test case ?

Indeed ngctl(8) and ng_socket(4) will load required modules on demand. No need to bother tests/ci/tools/ci.conf for this testcase.