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)
Fri, Jan 16, 1:21 AM
Unknown Object (File)
Wed, Jan 14, 2:26 PM
Unknown Object (File)
Thu, Jan 8, 10:25 AM
Unknown Object (File)
Wed, Dec 24, 7:15 PM
Unknown Object (File)
Dec 20 2025, 11:44 PM
Unknown Object (File)
Nov 29 2025, 12:21 AM
Unknown Object (File)
Nov 5 2025, 9:53 AM
Unknown Object (File)
Nov 5 2025, 9:50 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.