-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GroupSelectionIface implementation used by PI
PI uses a custom GroupSelectionIface implementation to support watch ports for P4Runtime action profile group members. Before this fix, membership information in the GroupSelectionIface implementation wasn't cleaned up properly when a group was deleted, which means that when a new group was created with the same id (but different membership), table lookups would yield invalid members and bmv2 would assert. The fix consists in making the appropriate method calls to remove each member from the group when the group is being deleted. Fixes #893
- Loading branch information
1 parent
9a331b9
commit 5bb6075
Showing
5 changed files
with
122 additions
and
27 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
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