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)
Wed, Sep 9, 5:26 AM
Unknown Object (File)
Fri, Sep 4, 4:28 PM
Unknown Object (File)
Mon, Aug 31, 8:14 PM
Unknown Object (File)
Sat, Aug 29, 1:44 PM
Unknown Object (File)
Fri, Aug 28, 4:36 AM
Unknown Object (File)
Fri, Aug 14, 8:16 AM
Unknown Object (File)
Thu, Aug 13, 12:45 AM
Unknown Object (File)
Aug 11 2026, 11: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.