Page MenuHomeFreeBSD

epair: Make vnet_epair_uninit() run earlier
ClosedPublic

Authored by markj on Mon, Oct 5, 10:14 PM.
Tags
None
Referenced Files
F175431557: D60388.id188960.diff
Sat, Oct 10, 7:41 PM
F175391571: D60388.id188762.diff
Sat, Oct 10, 12:47 PM
F175371629: D60388.diff
Sat, Oct 10, 9:02 AM
F175348861: D60388.id188960.diff
Sat, Oct 10, 4:57 AM
F175343330: D60388.diff
Sat, Oct 10, 3:47 AM
Unknown Object (File)
Fri, Oct 9, 12:44 PM
Unknown Object (File)
Fri, Oct 9, 7:50 AM
Unknown Object (File)
Thu, Oct 8, 5:21 AM

Details

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.

I tried that once, there was a problem with it, but I don't remember anymore...
But that was about 5 months ago, it might be ok now.

The change is correct, but as Pouria noted all the stuff around here is fragile. There could be bugs fixing other bugs :) Let's proceed with this change and see if there is any fallout that needs to be dealt with.

This revision is now accepted and ready to land.Tue, Oct 6, 4:40 PM
This revision was automatically updated to reflect the committed changes.