Page MenuHomeFreeBSD

Move VNET taerdown if_vmove() code to if.c under VNET_SYSUNINIT
ClosedPublic

Authored by bz on May 18 2016, 4:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 18 2024, 8:29 PM
Unknown Object (File)
Dec 23 2023, 11:52 AM
Unknown Object (File)
Sep 1 2023, 8:18 AM
Unknown Object (File)
Sep 1 2023, 8:16 AM
Unknown Object (File)
Sep 1 2023, 8:05 AM
Unknown Object (File)
Sep 1 2023, 8:03 AM
Unknown Object (File)
Jun 30 2023, 2:23 AM
Unknown Object (File)
Jun 30 2023, 2:22 AM
Subscribers

Details

Summary

Rather than having the if_vmove() code intermixed in the vnet_destroy()
function in vnet.c move it to if.c where it logically belongs and put
it under a VNET_SYSUNINIT() call.
To not change the current behaviour make sure it runs first thing
during teardown. In the future this will allow us more flexibility
on changing the order on when we want to get rid of interfaces.

Stop exporting if_vmove() and make it file static.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz retitled this revision from to Move VNET taerdown if_vmove() code to if.c under VNET_SYSUNINIT.
bz updated this object.
bz edited the test plan for this revision. (Show Details)
bz added reviewers: gnn, emaste.
bz added a subscriber: network.
gnn edited edge metadata.
This revision is now accepted and ready to land.May 18 2016, 6:24 PM
This revision was automatically updated to reflect the committed changes.