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)
Dec 22 2023, 10:18 PM
Unknown Object (File)
Dec 2 2023, 9:51 AM
Unknown Object (File)
Nov 22 2023, 6:57 PM
Unknown Object (File)
Nov 15 2023, 10:57 PM
Unknown Object (File)
Oct 14 2023, 9:57 PM
Unknown Object (File)
Sep 15 2023, 2:21 AM
Unknown Object (File)
Sep 6 2023, 7:12 AM
Unknown Object (File)
Sep 6 2023, 7:11 AM
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