Page MenuHomeFreeBSD

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

Authored by zlei on Thu, Apr 23, 8:58 PM.
Tags
None
Referenced Files
F157082753: D56609.diff
Mon, May 18, 8:22 AM
F157081978: D56609.diff
Mon, May 18, 8:18 AM
Unknown Object (File)
Tue, May 12, 10:30 PM
Unknown Object (File)
Tue, May 12, 2:48 PM
Unknown Object (File)
Tue, May 12, 6:51 AM
Unknown Object (File)
Mon, May 11, 11:38 PM
Unknown Object (File)
Fri, May 8, 4:11 PM
Unknown Object (File)
Thu, May 7, 12:58 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.Thu, Apr 23, 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.