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: Fix crash on macvlan link down/up (backport #15010) #15600

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Mar 22, 2024

Whenever a link up change was detected on a macvlan device where the linked device wasn't visible in the namespace zebra was running in, the linked zebra interface was NULL. This was already handled in the event of a link down, but was ommitted from the upside. Added the same null check to the up-side.

Relates to #13523


This is an automatic backport of pull request #15010 done by Mergify.

Whenever a link up change was detected on a macvlan device where
the linked device wasn't visible in the namespace zebra was
running in, the linked zebra interface was NULL. This was already
handled in the event of a link down, but was ommitted from the
upside. Added the same null check to the up-side.

Signed-off-by: Tomi Salminen <[email protected]>
(cherry picked from commit bdf6a9b)
@frrbot frrbot bot added the zebra label Mar 22, 2024
@ton31337 ton31337 merged commit 9d97725 into stable/9.0 Mar 25, 2024
12 checks passed
@ton31337 ton31337 deleted the mergify/bp/stable/9.0/pr-15010 branch March 25, 2024 06:23
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.

2 participants