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
F170108238: D24976.diff
Thu, Sep 3, 1:08 PM
F170093021: D24976.id.diff
Thu, Sep 3, 12:01 PM
Unknown Object (File)
Tue, Sep 1, 1:49 PM
Unknown Object (File)
Tue, Sep 1, 12:11 PM
Unknown Object (File)
Tue, Sep 1, 11:18 AM
Unknown Object (File)
Tue, Sep 1, 5:35 AM
Unknown Object (File)
Mon, Aug 31, 10:12 AM
Unknown Object (File)
Mon, Aug 31, 4:27 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 Passed
Unit
No Test Coverage
Build Status
Buildable 31257
Build 28904: arc lint + arc unit