Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect ACL stage CRM increment with Mirror #800

Merged
merged 1 commit into from
Feb 23, 2019
Merged

Conversation

prsunny
Copy link
Collaborator

@prsunny prsunny commented Feb 23, 2019

What I did
CRM counter got incremented for stage egress when there is a mirror session. With the mirror session removed, the CRM counter was decremented for stage ingress.

Why I did it
Orchagent could crash if the used and available counters add up to zero (divide/zero) error.

How I verified it
Tested with the fix and checked for values

Details if related

@prsunny prsunny requested a review from yxieca February 23, 2019 01:11
@yxieca
Copy link
Contributor

yxieca commented Feb 28, 2019

Change made to 201811 branch on 2/22/2019

EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
…ot user (sonic-net#872)

Removed user privileges checks. These changes fix sonic-net#800. The ZTP PR sonic-net/sonic-ztp#13 is also required for these changes to work as expected.

```
admin@sonic:~$ show ztp status
ZTP Admin Mode : True
ZTP Service : Processing
ZTP Status : IN-PROGRESS
ZTP Source : local-fs (/host/ztp/ztp_data_local.json)
Runtime : 06m 26s
Timestamp : 2020-04-08 13:08:22 UTC

ZTP Service is active

01-test-plugin: IN-PROGRESS
```

Signed-off-by: Rajendra Dendukuri <rajendra.dendukuri@broadcom.com>
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.

3 participants