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)
Fri, Apr 25, 2:15 PM
Unknown Object (File)
Wed, Apr 23, 12:58 PM
Unknown Object (File)
Tue, Apr 22, 7:44 AM
Unknown Object (File)
Tue, Apr 22, 6:02 AM
Unknown Object (File)
Mon, Apr 21, 11:45 PM
Unknown Object (File)
Mon, Apr 21, 3:17 PM
Unknown Object (File)
Mon, Apr 21, 3:14 PM
Unknown Object (File)
Mon, Apr 21, 12:16 PM
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