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: do not set nexthop flag to active just because route-map permt… #4100

Closed
wants to merge 1 commit into from

Conversation

dslicenc
Copy link
Member

@dslicenc dslicenc commented Apr 8, 2019

Testing found a crash in zebra during ifdown processing due to trying
to process a nexthop that was not valid. Root cause of the problem
was that when the nexthop was checked against a route-map, it would
blindly mark it active if the route-map permitted it, even if the
nexthop was marked inactive prior to the route-map check.

Ticket: CM-24440
Signed-off-by: Don Slice dslice@cumulusnetworks.com

…s it

Testing found a crash in zebra during ifdown processing due to trying
to process a nexthop that was not valid.  Root cause of the problem
was that when the nexthop was checked against a route-map, it would
blindly mark it active if the route-map permitted it, even if the
nexthop was marked inactive prior to the route-map check.

Ticket: CM-24440
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Copy link
Contributor

@mjstapp mjstapp left a comment

Choose a reason for hiding this comment

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

hmm - so the ACTIVE flag in the copied nexthop list is being used to control the message sent to each registered client? if a 'filtered' client turns the ACTIVE flag off, won't that effectively apply the 'filter' to all subsequent clients in the rnh list, now that nothing will turn the flag back on?

@dslicenc
Copy link
Member Author

dslicenc commented Apr 8, 2019

I suspect your point is valid. Let me take a closer look and have a chat with Donald and revisit. Thanks for looking.

@LabN-CI
Copy link
Collaborator

LabN-CI commented Apr 8, 2019

💚 Basic BGPD CI results: SUCCESS, 0 tests failed

Results table
_ _
Result SUCCESS git merge/4100 0ab1b59
Date 04/08/2019
Start 10:57:20
Finish 11:21:11
Run-Time 23:51
Total 1816
Pass 1816
Fail 0
Valgrind-Errors 0
Valgrind-Loss 0
Details vncregress-2019-04-08-10:57:20.txt
Log autoscript-2019-04-08-10:58:04.log.bz2
Memory 495 483 429

For details, please contact louberger

@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-7177/

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.


CLANG Static Analyzer Summary

  • Github Pull Request 4100, comparing to Git base SHA a1a972f

No Changes in Static Analysis warnings compared to base

67 Static Analyzer issues remaining.

See details at
https://ci1.netdef.org/browse/FRR-FRRPULLREQ-7177/artifact/shared/static_analysis/index.html

@dslicenc dslicenc closed this Apr 8, 2019
@dslicenc dslicenc deleted the zebra-rnh-routemap branch April 8, 2019 17:12
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.

5 participants