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)
Sat, Sep 28, 8:17 AM
Unknown Object (File)
Sat, Sep 28, 6:22 AM
Unknown Object (File)
Tue, Sep 24, 12:35 AM
Unknown Object (File)
Sun, Sep 22, 6:01 AM
Unknown Object (File)
Wed, Sep 18, 5:39 PM
Unknown Object (File)
Tue, Sep 17, 8:15 PM
Unknown Object (File)
Mon, Sep 16, 11:14 PM
Unknown Object (File)
Wed, Sep 11, 5:40 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.