Page MenuHomeFreeBSD

Update nexthop handling for route addition/deletion in preparation for mpath.
ClosedPublic

Authored by melifaro on Sep 8 2020, 9:35 AM.
Tags
None
Referenced Files
F108414731: D26356.diff
Fri, Jan 24, 2:38 PM
Unknown Object (File)
Dec 11 2024, 8:29 AM
Unknown Object (File)
Oct 23 2024, 10:54 PM
Unknown Object (File)
Sep 21 2024, 2:19 AM
Unknown Object (File)
Sep 16 2024, 2:23 AM
Unknown Object (File)
Sep 16 2024, 2:23 AM
Unknown Object (File)
Sep 16 2024, 2:23 AM
Unknown Object (File)
Sep 16 2024, 2:19 AM
Subscribers

Details

Summary

Currently kernel requests deletion for the certain routes with gateway, but this gateways is not actually checked.
With multipath, checking that the code deleting the right route is necessary. Add the logic performing this check.

Generalise RTF_PINNED routes to the generic route priorities, simplifying the logic.

Add lookup_prefix() function to perform exact match search based on data in @info.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33440
Build 30727: arc lint + arc unit