Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
route-table: Allow parsing routes without nexthop.
A recent commit added condition to "route_table_parse__" function that causes it to throw an error when parsing route without "nexthop information" (either RTA_OIF, RTA_GATEWAY, RTA_VIA or RTA_MULTIPATH). While this requirement is reasonable for regular routes, there are some route types that don't need nexthop. We intend to use one of these types, (RTN_BLACKHOLE)[0], in OVN for route advertising . This change does not enforce the above-mentioned condition for those special route types that don't require "nexthop information". [0] https://mail.openvswitch.org/pipermail/ovs-dev/2025-January/419383.html Fixes: 91fc511 ("route-table: Support parsing multipath routes.") Signed-off-by: Martin Kalcok <[email protected]> Signed-off-by: Eelco Chaudron <[email protected]>
- Loading branch information