Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

zebra: Prevent leaking ctx memory in err condition #14548

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

raja-rajasekar
Copy link
Contributor

When netlink_link_change() errors out for a new link for interface without MTU set, the allocated ctx is not freed..
Adding code for correctness

When netlink_link_change() errors out for a new link for
interface without MTU set, the allocated ctx is not freed..
Adding code for correctness

Ticket# 3628313

Signed-off-by: Rajasekar Raja <[email protected]>
@frrbot frrbot bot added the zebra label Oct 9, 2023
@ton31337 ton31337 added this to the 9.1 milestone Oct 10, 2023
Copy link
Member

@ton31337 ton31337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ton31337
Copy link
Member

@Mergifyio backport stable/9.0

@mergify
Copy link

mergify bot commented Oct 10, 2023

backport stable/9.0

✅ Backports have been created

Copy link
Member

@riw777 riw777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@riw777 riw777 merged commit cc63e16 into FRRouting:master Oct 10, 2023
80 checks passed
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