-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
controller: Fix IPv6 prefix delegation
The local_datapaths are populated by iterating through all available port bindings or new ones added during I-C. The port bindings are not ordered, it might happen that the order between engine runs are different. This can cause the prefix delegation shash to be with NULL local_datapath. Even in cases that the port binding is actually part of the local_datapath. Store only port binding in the shash and during pinctrl_run check if the stored port binding is part of local_datapaths. Because pinctrl runs only after the engine computation is complete we should have complete hmap of all local_datapaths. Fixes: 647920b ("controller: incrementally create ipv6 prefix delegation port_binding list") Reported-at: https://bugzilla.redhat.com/2108726 Signed-off-by: Ales Musil <amusil@redhat.com> Acked-by: Mark Michelson <mmichels@redhat.com> Signed-off-by: Numan Siddique <numans@ovn.org> (cherry picked from commit bd7ce24)
- Loading branch information
1 parent
dd0bdf5
commit ea17a67
Showing
4 changed files
with
21 additions
and
45 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
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
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
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