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 memory leak if route is rejected early (backport #9321) #9351

Merged
merged 2 commits into from
Aug 13, 2021

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Aug 10, 2021

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


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

When receiving a route via zapi, if the route is rejected
there exists a code path where we would not free the corresponding
re created.

Signed-off-by: Donald Sharp <[email protected]>
(cherry picked from commit f94a770)
When calling rib_add_multipath_nhe ensure that we have
well aligned return codes that mean something so that
interersted parties can properly handle the situation.

Signed-off-by: Donald Sharp <[email protected]>
(cherry picked from commit 38c764d)
@LabN-CI
Copy link
Collaborator

LabN-CI commented Aug 10, 2021

🚧 Basic BGPD CI results: Partial FAILURE, autoscript-2021-08-10-13:16:02.log.bz2 tests failed, has VALGRIND issues

Results table
_ _
Result SUCCESS git merge/9351 0625c03
Date 08/10/2021
Start 13:14:49
Finish 13:40:22
Run-Time 25:33
Total 1813
Pass 1813
Fail 0
Details vncregress-2021-08-10-13:14:49.txt
Log autoscript-2021-08-10-13:16:02.log.bz2
Memory 508 516 426

For details, please contact louberger

@idryzhov
Copy link
Contributor

ci:rerun

@NetDEF-CI
Copy link
Collaborator

Continuous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-21003/

This is a comment from an automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

@idryzhov idryzhov merged commit 6feb01d into stable/8.0 Aug 13, 2021
@mergify mergify bot deleted the mergify/bp/stable/8.0/pr-9321 branch August 13, 2021 11:08
@LabN-CI
Copy link
Collaborator

LabN-CI commented Aug 13, 2021

💚 Basic BGPD CI results: SUCCESS, 0 tests failed

Results table
_ _
Result SUCCESS git merge/9351 0625c03
Date 08/10/2021
Start 13:14:49
Finish 13:40:22
Run-Time 25:33
Total 1813
Pass 1813
Fail 0
Valgrind-Errors
Valgrind-Loss
Details vncregress-2021-08-10-13:14:49.txt
Log autoscript-2021-08-10-13:16:02.log.bz2
Memory 508 516 426

For details, please contact louberger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants