Page MenuHomeFreeBSD

epair: Make vnet_epair_uninit() run earlier
Needs ReviewPublic

Authored by markj on Mon, Oct 5, 10:14 PM.
Tags
None
Referenced Files
F174793459: D60388.id188762.diff
Tue, Oct 6, 12:57 AM
F174789879: D60388.diff
Tue, Oct 6, 12:28 AM
F174783754: D60388.id188762.diff
Mon, Oct 5, 11:38 PM
F174783167: D60388.diff
Mon, Oct 5, 11:33 PM

Details

Reviewers
None
Group Reviewers
network
Summary

I can't see a reason for vnet_epair_init() and vnet_epair_uninit() to be
inconsistent in the sys(un)init run order. Move vnet_epair_uninit() to
SI_SUB_PSEUDO, which is more appropriate for software ifnet drivers.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77744
Build 74627: arc lint + arc unit

Event Timeline

markj requested review of this revision.Mon, Oct 5, 10:14 PM

Different cloner drivers are quite inconsistent with each other about which sysinit subsystem they belong to. Some further cleanup here would be great, here I am just trying to minimally fix a panic I see when running the test suite with the linuxulator loaded.