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
F103044986: D25614.diff
Wed, Nov 20, 5:21 AM
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
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 Not Applicable
Unit
Tests Not Applicable