Page MenuHomeFreeBSD

routing: retire rib_lookup_info()
ClosedPublic

Authored by melifaro on Aug 14 2022, 10:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 26, 10:24 PM
Unknown Object (File)
Sat, Jul 25, 12:27 AM
Unknown Object (File)
Wed, Jul 22, 5:39 PM
Unknown Object (File)
Wed, Jul 22, 4:53 PM
Unknown Object (File)
Tue, Jul 7, 3:25 AM
Unknown Object (File)
Mon, Jun 29, 11:35 PM
Unknown Object (File)
Jun 16 2026, 8:01 PM
Unknown Object (File)
Jun 16 2026, 7:38 AM
Subscribers

Details

Reviewers
None
Group Reviewers
network
Commits
rG036f1bc6139e: routing: retire rib_lookup_info()
Summary

This function was added in pre-epoch era ( 9a1b64d5a0224 ) to
provide public rtentry access interface & hide rtentry internals.
The implementation is based on the large on-stack copying and
refcounting of the referenced objects (ifa/ifp).
It has become obsolete after epoch & nexthop introduction. Convert
the last remaining user and remove the function itself.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46933
Build 43822: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Aug 15 2022, 6:49 AM
This revision was automatically updated to reflect the committed changes.