forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[orchagent]: Fix issue with bind ACL table group to port (sonic-net#386)
Port object creates ACL table group, binds it to particular port and stores group ID. AclOrch class was operating with copies of Port objects. ID of created ACL table group was stored in object copy. Which caused resoures leak after copy was destroyed. For each ACL table new ACL table group was created. Only one ACL table was bind to group at the same time. - Move port bind implementation into PortOrch class to give access to real port object. - Make Port class objects stateless.
- Loading branch information
1 parent
afa3e9f
commit 5bc06f5
Showing
7 changed files
with
94 additions
and
117 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,6 @@ endif | |
|
||
orchagent_SOURCES = \ | ||
main.cpp \ | ||
port.cpp \ | ||
orchdaemon.cpp \ | ||
orch.cpp \ | ||
notifications.cpp \ | ||
|
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 was deleted.
Oops, something went wrong.
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