HomeFreeBSD

Add rib_subscribe_locked() and rib_unsubsribe_locked() to support

Description

Add rib_subscribe_locked() and rib_unsubsribe_locked() to support
subscriptions during RIB modifications.
Add new subscriptions to the beginning of the lists instead of
the end. This fixes the situation when new subscription is created
int the callback for the existing subscription, leading to the
subscription notification handler pick it.

MFC after: 3 days

Details

Provenance
melifaroAuthored on Jan 30 2021, 9:52 PM
Parents
rGab6d9aaed76e: Move business logic from rebuild_fd_callout() into rebuild_fd().
Branches
Unknown
Tags
Unknown