Page MenuHomeFreeBSD

linux: Initialize per-VNET state earlier
Needs ReviewPublic

Authored by markj on Mon, Oct 5, 10:14 PM.
Tags
None
Referenced Files
F174785085: D60389.diff
Mon, Oct 5, 11:51 PM
F174784850: D60389.id188763.diff
Mon, Oct 5, 11:49 PM
F174782837: D60389.diff
Mon, Oct 5, 11:30 PM
Subscribers

Details

Reviewers
None
Group Reviewers
network
Summary

Make sure that linux_ifnet_departure() can't run after
linux_ifnet_vnet_uninit() has destroyed the per-VNET unit number
allocator. Otherwise, when ifc_detach_cloner() destroys instances of an
interface type, it might be running too late. Most cloner-based drivers
tear themselves down during SI_SUB_PSEUDO or SI_SUB_PROTO_IF.

Diff Detail

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