Page MenuHomeFreeBSD

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

Authored by melifaro on May 23 2020, 1:09 PM.
Tags
None
Referenced Files
F165257602: D24974.id72358.diff
Fri, Aug 7, 5:41 AM
Unknown Object (File)
Sun, Aug 2, 12:33 AM
Unknown Object (File)
Thu, Jul 30, 9:16 PM
Unknown Object (File)
Sun, Jul 26, 3:13 PM
Unknown Object (File)
Mon, Jul 20, 6:27 AM
Unknown Object (File)
Sat, Jul 18, 9:43 AM
Unknown Object (File)
Sat, Jul 18, 7:32 AM
Unknown Object (File)
Jul 4 2026, 8:21 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.