Skip to content

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

Merged
neethajohn merged 1 commit intosonic-net:202205from
EdenGri:202205_Fixed_set_admin_status_for_deleted_subintf_due_to_late_notification
Mar 20, 2023
Merged

[202205] Fixed set admin_status for deleted subintf due to late notification#2704
neethajohn merged 1 commit intosonic-net:202205from
EdenGri:202205_Fixed_set_admin_status_for_deleted_subintf_due_to_late_notification

Conversation

@EdenGri
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

EdenGri commented Mar 20, 2023

/azpw run Azure.sonic-swss

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-swss

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@dprital
Copy link
Copy Markdown
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants