Skip to content

Revert "Ignore removing switch for mellanox platform due to known limitation (#1216)"#1233

Merged
kcudnik merged 1 commit intosonic-net:masterfrom
Junchao-Mellanox:revert-acd57ae
Apr 28, 2023
Merged

Revert "Ignore removing switch for mellanox platform due to known limitation (#1216)"#1233
kcudnik merged 1 commit intosonic-net:masterfrom
Junchao-Mellanox:revert-acd57ae

Conversation

@Junchao-Mellanox
Copy link
Contributor

What I did?

This reverts commit acd57ae.

Why I did this?

This commit introduces a race condition with would cause syncd crash. The issue happens when:

  1. Syncd.m_sn has been freed
  2. SAI send a port state change notification which will access Syncd.m_sn ===> causes crash

@Junchao-Mellanox
Copy link
Contributor Author

/azpw run Azure.sonic-sairedis

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-sairedis

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Junchao-Mellanox Junchao-Mellanox marked this pull request as draft April 25, 2023 01:32
@Junchao-Mellanox
Copy link
Contributor Author

/azpw run Azure.sonic-sairedis

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-sairedis

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Junchao-Mellanox
Copy link
Contributor Author

/azpw run Azure.sonic-sairedis

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-sairedis

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Junchao-Mellanox
Copy link
Contributor Author

/azpw run Azure.sonic-sairedis

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-sairedis

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Junchao-Mellanox Junchao-Mellanox marked this pull request as ready for review April 28, 2023 01:11
@Junchao-Mellanox
Copy link
Contributor Author

Hi @kcudnik , could you please help merge this?

@kcudnik kcudnik merged commit c1d8a8b into sonic-net:master Apr 28, 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.

3 participants