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

Fixed set admin_status for deleted subintf due to late notification #2659

Conversation

EdenGri
Copy link
Contributor

@EdenGri EdenGri commented Feb 8, 2023

What I did
Handled a race condition in intfmgrd which tries to immediately apply an admin_status SET notif after a DEL causing it to crash

Why I did it
Ignores errors on the set admin_status command for subinterface when the subinterface state is not OK.

How I verified it

Details if related
This PR reference to older PR that fix the same issue in portmgr: #2431

@EdenGri EdenGri requested a review from prsunny as a code owner February 8, 2023 09:55
dprital
dprital previously approved these changes Feb 8, 2023
@EdenGri
Copy link
Contributor Author

EdenGri commented Mar 8, 2023

/azpw run Azure.sonic-swss

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-swss

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@EdenGri EdenGri marked this pull request as draft March 9, 2023 13:54
Copy link
Collaborator

@dprital dprital left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check why I don't see in the PR delete of add_ipv6_prefix_ut.cpp

@EdenGri
Copy link
Contributor Author

EdenGri commented Mar 13, 2023

Please check why I don't see in the PR delete of add_ipv6_prefix_ut.cpp

GitHub handles it like rename of the file

@EdenGri EdenGri marked this pull request as ready for review March 13, 2023 16:03
@dprital
Copy link
Collaborator

dprital commented Mar 14, 2023

@prsunny , Can you please review ?

@prsunny prsunny merged commit b44692c into sonic-net:master Mar 14, 2023
@yxieca
Copy link
Contributor

yxieca commented Mar 15, 2023

@EdenGri please help create separate PR for 202205 branch.

@EdenGri
Copy link
Contributor Author

EdenGri commented Mar 16, 2023

This PR reference to older PR that fix the same issue in portmgr: #2431

NP: #2704

StormLiangMS pushed a commit that referenced this pull request Mar 19, 2023
…2659)

* Fixed set admin_status for deleted subintf due to late notification
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.

6 participants