Skip to content
New issue

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

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

Already on GitHub? # to your account

[202205] Fixed set admin_status for deleted subintf due to late notification #2704

Conversation

EdenGri
Copy link
Contributor

@EdenGri EdenGri commented Mar 16, 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
Unit tests
Details if related
This PR reference to older PR that fix the same issue in portmgr: #2431

@EdenGri
Copy link
Contributor Author

EdenGri commented Mar 20, 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).

@dprital
Copy link
Collaborator

dprital commented Mar 20, 2023

@prsunny , can you please merge ?

@EdenGri EdenGri changed the title Fixed set admin_status for deleted subintf due to late notification [202205] Fixed set admin_status for deleted subintf due to late notification Mar 20, 2023
@neethajohn neethajohn merged commit bf496d1 into sonic-net:202205 Mar 20, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants