Page MenuHomeFreeBSD

ipfw: cleanup SYSINIT(9)s
ClosedPublic

Authored by glebius on Mon, Oct 12, 7:50 PM.
Tags
None
Referenced Files
F176167187: D60685.diff
Fri, Oct 16, 3:14 PM
Unknown Object (File)
Thu, Oct 15, 7:24 AM
Unknown Object (File)
Wed, Oct 14, 4:56 PM
Unknown Object (File)
Tue, Oct 13, 6:49 PM
Unknown Object (File)
Tue, Oct 13, 3:19 PM
Unknown Object (File)
Tue, Oct 13, 3:10 PM
Unknown Object (File)
Tue, Oct 13, 2:37 PM
Unknown Object (File)
Tue, Oct 13, 12:56 PM

Details

Summary

Make them all belong to SI_SUB_PROTO_FIREWALL and explicitly specify
order. Prefer SYSINIT() over modevent, for those subsystems that don't
have dependencies. All subsystems just depend on the main module and they
don't depend on each other, except dummynet which also has submodules.
Thus, keep DECLARE_MODULE() only for the main module and dummynet.

Diff Detail

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

Event Timeline

I'm not expert enough to approve, but this LGTM.

This revision was not accepted when it landed; it landed in state Needs Review.Fri, Oct 16, 9:17 PM
This revision was automatically updated to reflect the committed changes.