forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
route-table: Store nexthops in linked list.
In preparation for adding support for parsing routes with multiple next hops per destination, we need dynamic storage for them. Storage for the primary next hop is set aside in struct route_data to avoid unnecessary memory allocations for the common case of one next hop. The ovs-router module does not support storing multiple next hop information, and the existing parser does not understand them, so we retain this behavior by only passing single next hop routes for storage in ovs-router. This patch makes this change in isolation so that it is easier to review subsequent patches. Signed-off-by: Frode Nordahl <[email protected]> Signed-off-by: 0-day Robot <[email protected]>
- Loading branch information
Showing
1 changed file
with
81 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters