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
F153480263: D24976.id72356.diff
Tue, Apr 21, 9:53 AM
Unknown Object (File)
Sun, Apr 19, 9:36 AM
Unknown Object (File)
Sat, Apr 18, 10:14 AM
Unknown Object (File)
Fri, Apr 17, 9:48 PM
Unknown Object (File)
Thu, Apr 16, 7:54 AM
Unknown Object (File)
Thu, Apr 16, 3:03 AM
Unknown Object (File)
Wed, Apr 15, 6:46 PM
Unknown Object (File)
Sun, Mar 29, 5:14 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