Page MenuHomeFreeBSD

Add destructor for the rib subscription system to simplify users code.
ClosedPublic

Authored by melifaro on Jul 11 2020, 10:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 6, 10:09 AM
Unknown Object (File)
Mon, Oct 28, 3:37 AM
Unknown Object (File)
Mon, Oct 28, 3:37 AM
Unknown Object (File)
Mon, Oct 28, 3:37 AM
Unknown Object (File)
Mon, Oct 28, 3:22 AM
Unknown Object (File)
Tue, Oct 22, 2:03 PM
Unknown Object (File)
Oct 20 2024, 4:34 PM
Unknown Object (File)
Oct 8 2024, 12:30 PM
Subscribers

Details

Summary

Subscriptions are planned to be used by modules such as route lookup engines. In that case that's the module task to properly unsibscribe before detach.

However, the in-kernel customer - inet6, wants to track default route changes. To avoid having inet6 store per-fib subscriptions, handle automatic destruction internally.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32233
Build 29724: arc lint + arc unit