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
Unknown Object (File)
Sun, Nov 30, 1:38 PM
Unknown Object (File)
Fri, Nov 28, 8:24 PM
Unknown Object (File)
Nov 24 2025, 7:22 PM
Unknown Object (File)
Nov 22 2025, 8:21 AM
Unknown Object (File)
Nov 20 2025, 8:44 AM
Unknown Object (File)
Nov 8 2025, 10:02 PM
Unknown Object (File)
Nov 1 2025, 2:52 PM
Unknown Object (File)
Oct 24 2025, 6:38 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 Not Applicable
Unit
Tests Not Applicable