Page MenuHomeFreeBSD

Use fib[46]_lookup() in mtu calculations.
ClosedPublic

Authored by melifaro on May 23 2020, 1:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 17, 4:52 AM
Unknown Object (File)
Thu, Oct 9, 5:52 AM
Unknown Object (File)
Wed, Oct 8, 8:31 AM
Unknown Object (File)
Sat, Oct 4, 3:37 AM
Unknown Object (File)
Sep 11 2025, 7:40 PM
Unknown Object (File)
Sep 10 2025, 8:35 PM
Unknown Object (File)
Aug 20 2025, 7:07 AM
Unknown Object (File)
Aug 14 2025, 2:01 AM
Subscribers

Details

Summary

fib[46]_lookup_nh_ represents pre-epoch generation of fib api,
providing less guarantees over pointer validness and requiring
on-stack data copying.

Conversion is straight-forwarded, as the only 2 differences are
requirement of running in network epoch and the need to handle
RTF_GATEWAY case in the caller code.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 28 2020, 8:00 AM
This revision was automatically updated to reflect the committed changes.