Page MenuHomeFreeBSD

Replace fib6_lookup_nh_<ext|basic> calls with fib6_lookup.
ClosedPublic

Authored by melifaro on May 23 2020, 1:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 12, 5:17 PM
Unknown Object (File)
Oct 7 2024, 5:14 PM
Unknown Object (File)
Oct 1 2024, 8:16 PM
Unknown Object (File)
Sep 23 2024, 7:15 PM
Unknown Object (File)
Sep 22 2024, 11:21 AM
Unknown Object (File)
Sep 20 2024, 6:47 AM
Unknown Object (File)
Sep 16 2024, 2:24 PM
Unknown Object (File)
Sep 15 2024, 7:08 PM
Subscribers

Details

Summary

fib6_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

Event Timeline

ae added inline comments.
sys/netinet6/ip6_output.c
1491 ↗(On Diff #72162)

I think it would be good to add NET_EPOCH_ASSERT() here.

This revision is now accepted and ready to land.May 25 2020, 8:36 AM