Page MenuHomeFreeBSD

Switch ip_output/icmp_reflect rt lookup calls with fib4_lookup.
ClosedPublic

Authored by melifaro on May 23 2020, 1:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 8 2024, 1:01 AM
Unknown Object (File)
Dec 23 2023, 3:55 AM
Unknown Object (File)
Nov 22 2023, 4:02 PM
Unknown Object (File)
Oct 6 2023, 12:51 AM
Unknown Object (File)
Sep 3 2023, 2:19 AM
Unknown Object (File)
Sep 3 2023, 2:18 AM
Unknown Object (File)
Sep 3 2023, 2:16 AM
Unknown Object (File)
Aug 28 2023, 5:53 AM
Subscribers

Details

Summary

fib4_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