Skip to content

[ledd] prevent ledd crash on recirc port event#232

Merged
sujinmkang merged 1 commit intosonic-net:masterfrom
Staphylo:master-recirc
Dec 17, 2021
Merged

[ledd] prevent ledd crash on recirc port event#232
sujinmkang merged 1 commit intosonic-net:masterfrom
Staphylo:master-recirc

Conversation

@Staphylo
Copy link
Copy Markdown
Contributor

@Staphylo Staphylo commented Dec 8, 2021

Description

Prevent ledd crash when an event on recirc port happens

Motivation and Context

A recirculation port is not a physical interface tied to a xcvr
Calling the led change event on such a port could lead to a ledd crash

How Has This Been Tested?

This change was applied to running switch with its dependency sonic-net/sonic-buildimage#9471
Verified that ledd runs without crashing

Additional Information (Optional)

Cherry-pick required for 202106

@prgeor prgeor requested a review from sujinmkang December 10, 2021 16:28
@judyjoseph
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@judyjoseph
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@sujinmkang
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-platform-daemons

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@sujinmkang sujinmkang merged commit 7c363f5 into sonic-net:master Dec 17, 2021
judyjoseph pushed a commit that referenced this pull request Jan 23, 2022
Description
Prevent ledd crash when an event on recirc port happens

Motivation and Context
A recirculation port is not a physical interface tied to a xcvr
Calling the led change event on such a port could lead to a ledd crash

How Has This Been Tested?
This change was applied to running switch with its dependency sonic-net/sonic-buildimage#9471
Verified that ledd runs without crashing
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