]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
routing: retire rib_lookup_info()
authorAlexander V. Chernikov <melifaro@FreeBSD.org>
Sun, 14 Aug 2022 10:39:06 +0000 (10:39 +0000)
committerAlexander V. Chernikov <melifaro@FreeBSD.org>
Mon, 15 Aug 2022 06:46:30 +0000 (06:46 +0000)
commit036f1bc6139e8fc6d3aca61a5ab93ffc5715cf74
tree342232d4500d7d43abac9bd1efbab6fc1213c24e
parent35b587464afce15ff62600c3499d38cbb5b9f3d5
routing: retire rib_lookup_info()

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.

Differential Revision: https://reviews.freebsd.org/D36197
sys/net/route.c
sys/net/route.h
sys/net/rtsock.c