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
Unknown Object (File)
Mon, Jun 8, 7:08 AM
Unknown Object (File)
Thu, Jun 4, 1:59 PM
Unknown Object (File)
Thu, Jun 4, 11:31 AM
Unknown Object (File)
Fri, May 29, 8:16 PM
Unknown Object (File)
Tue, May 26, 4:23 AM
Unknown Object (File)
Tue, May 26, 4:13 AM
Unknown Object (File)
Mon, May 25, 3:32 PM
Unknown Object (File)
Mon, May 25, 3:24 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.Apr 27 2026, 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.