Page MenuHomeFreeBSD

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

Authored by melifaro on Tue, Sep 8, 9:35 AM.



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

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

melifaro created this revision.Tue, Sep 8, 9:35 AM
melifaro requested review of this revision.Tue, Sep 8, 9:35 AM
melifaro edited the summary of this revision. (Show Details)Tue, Sep 8, 9:47 AM
melifaro added a reviewer: network.
This revision was not accepted when it landed; it landed in state Needs Review.Wed, Sep 9, 10:08 PM
This revision was automatically updated to reflect the committed changes.