Page MenuHomeFreeBSD

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

Authored by melifaro on Jul 11 2020, 10:01 AM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.