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
Unknown Object (File)
Thu, Apr 30, 1:26 AM
Unknown Object (File)
Wed, Apr 29, 11:53 AM
Unknown Object (File)
Tue, Apr 28, 4:45 AM
Unknown Object (File)
Mon, Apr 27, 12:26 PM
Unknown Object (File)
Sun, Apr 26, 6:12 AM
Unknown Object (File)
Sat, Apr 25, 4:35 AM

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 Skipped
Unit
Tests Skipped

Event Timeline

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

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
32

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.