[countersyncd]: align multi-message netlink parsing#212
Merged
Pterosaur merged 3 commits intoAzure:202412from Mar 13, 2026
Merged
[countersyncd]: align multi-message netlink parsing#212Pterosaur merged 3 commits intoAzure:202412from
Pterosaur merged 3 commits intoAzure:202412from
Conversation
Signed-off-by: Ze Gan <ganze718@gmail.com> (cherry picked from commit 6917adbf46b30aded9adc7cc1809dfd3728b5e8c)
Signed-off-by: Ze Gan <ganze718@gmail.com> (cherry picked from commit e3bd603ff5c497808ed63ed2007c99cf5ed1bc86)
Signed-off-by: Ze Gan <ganze718@gmail.com> (cherry picked from commit 2217d8578aacd8bd06b932040565f16b21892a48)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I did
Backported sonic-net/sonic-swss#4317 to the
202412branch.This preserves the aligned multi-message netlink parsing fixes in
countersyncd, including the follow-up bounds tightening and helper documentation update.Why I did it
The parser needs to align netlink message traversal correctly to avoid malformed multi-message parsing and out-of-bounds behavior.
How I verified it
Backport was validated as part of the combined 202412
countersyncdstack verification.A merged 202412 build containing the backports of public PRs 4316/4317/4318/4319 was built and deployed to DUT
str4-sn5640-2, then the full HFT regression was run:high_frequency_telemetry/test_high_frequency_telemetry.pytests=14,failures=0,errors=0,skipped=720241212.54Details if related
Source public PR: sonic-net/sonic-swss#4317