Page MenuHomeFreeBSD

Further split nhop creation and rtable operations.
ClosedPublic

Authored by melifaro on Aug 27 2020, 9:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 21 2024, 1:19 AM
Unknown Object (File)
Oct 1 2024, 5:03 PM
Unknown Object (File)
Sep 30 2024, 11:43 PM
Unknown Object (File)
Sep 28 2024, 2:59 PM
Unknown Object (File)
Sep 25 2024, 10:11 PM
Unknown Object (File)
Sep 23 2024, 6:57 AM
Unknown Object (File)
Sep 18 2024, 10:42 AM
Unknown Object (File)
Sep 17 2024, 12:15 PM
Subscribers

Details

Summary

Further split nhop creation and rtable operations.
As nexthops are immutable, some operations such as route attribute changes require nexthop fetching, forking, modification and route switching.
These operations are not atomic, so they may need to be retried multiple times in presence of multiple speakers changing the same route.

This change introduces "synchronisation" primitive: route_update_conditional(), simplifying logic for route changes and upcoming multipath operations.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

melifaro added a reviewer: network.
This revision was not accepted when it landed; it landed in state Needs Review.Aug 28 2020, 9:59 PM
This revision was automatically updated to reflect the committed changes.