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
F171212160: D24976.id72165.diff
Wed, Sep 9, 1:48 PM
Unknown Object (File)
Tue, Sep 8, 4:20 PM
Unknown Object (File)
Tue, Sep 8, 4:02 PM
Unknown Object (File)
Tue, Sep 8, 3:34 PM
Unknown Object (File)
Tue, Sep 8, 1:53 PM
Unknown Object (File)
Mon, Sep 7, 11:47 PM
Unknown Object (File)
Mon, Sep 7, 8:16 PM
Unknown Object (File)
Mon, Sep 7, 2:49 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