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)
Tue, Jan 21, 6:37 AM
Unknown Object (File)
Thu, Jan 16, 11:47 PM
Unknown Object (File)
Wed, Jan 15, 4:56 PM
Unknown Object (File)
Dec 17 2024, 6:32 PM
Unknown Object (File)
Dec 9 2024, 12:12 PM
Unknown Object (File)
Dec 2 2024, 3:23 AM
Unknown Object (File)
Nov 26 2024, 9:27 AM
Unknown Object (File)
Nov 18 2024, 6:22 PM
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