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)
Thu, Jul 23, 3:22 AM
Unknown Object (File)
Wed, Jul 22, 12:19 PM
Unknown Object (File)
Mon, Jul 20, 12:26 AM
Unknown Object (File)
Sat, Jul 4, 6:46 AM
Unknown Object (File)
Jun 22 2026, 1:20 AM
Unknown Object (File)
Jun 19 2026, 10:27 PM
Unknown Object (File)
May 16 2026, 10:55 AM
Unknown Object (File)
May 8 2026, 6:41 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