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)
Tue, May 19, 1:14 PM
Unknown Object (File)
Tue, Apr 28, 8:58 PM
Unknown Object (File)
Apr 21 2026, 8:54 PM
Unknown Object (File)
Apr 21 2026, 7:08 AM
Unknown Object (File)
Apr 20 2026, 12:19 AM
Unknown Object (File)
Apr 19 2026, 6:40 PM
Unknown Object (File)
Apr 18 2026, 11:50 AM
Unknown Object (File)
Apr 8 2026, 7: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 Not Applicable
Unit
Tests Not Applicable