Page MenuHomeFreeBSD

route: Let FIB modules own nexthop references
Needs ReviewPublic

Authored by hikmat2337_gmail.com on Sun, Sep 13, 12:22 PM.

Details

Reviewers
melifaro
pouria
Summary

Allow lookup modules to retain nexthop and group pointers directly
without allocating the framework's index and reference tables. Reject
framework batching for these modules, and expose conditional acquisition
of a live single nexthop reference.

Make reference ownership opt-in through FLM_FLAG_OWN_NHOPS. Assert that
these modules do not use the framework's index accessors. Existing
indexed modules retain their allocation and reference handling.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76832
Build 73715: arc lint + arc unit