Skip to content

[action] [PR:3118] [ACL] Remove flex counter when updating ACL rule (#3118)#3121

Merged
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/3118
Apr 23, 2024
Merged

[action] [PR:3118] [ACL] Remove flex counter when updating ACL rule (#3118)#3121
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/3118

Conversation

@mssonicbld
Copy link
Collaborator

What I did
This PR is to fix sonic-net/sonic-buildimage#18719

When ACL rule is created for the first time, a flex counter is created and registered. When the same ACL rule is being updated, the FlexCounter created before is not removed, and another FlexCounter is created and registered.

Why I did it
Fix the issue that FlexCounter is duplicated when updating existing ACL rule.

What I did
This PR is to fix sonic-net/sonic-buildimage#18719

When ACL rule is created for the first time, a flex counter is created and registered. When the same ACL rule is being updated, the FlexCounter created before is not removed, and another FlexCounter is created and registered.

Why I did it
Fix the issue that FlexCounter is duplicated when updating existing ACL rule.
@mssonicbld
Copy link
Collaborator Author

Original PR: #3118

@mssonicbld mssonicbld merged commit 4a9b7ee into sonic-net:202305 Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants