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)
Sat, May 9, 2:41 PM
Unknown Object (File)
Sat, May 9, 1:20 PM
Unknown Object (File)
Fri, May 8, 8:57 PM
Unknown Object (File)
Thu, May 7, 10:54 AM
Unknown Object (File)
Wed, Apr 29, 7:57 AM
Unknown Object (File)
Mon, Apr 27, 5:02 AM
Unknown Object (File)
Sat, Apr 18, 3:44 AM
Unknown Object (File)
Apr 13 2026, 1:37 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.