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

[4.0] Cherry-pick two commits to fix crash with p2p interfaces on *BSD #2590

Merged
merged 3 commits into from
Jul 2, 2018

Conversation

rwestphal
Copy link
Member

Fixes #2338.

donaldsharp and others added 3 commits June 29, 2018 16:07
Zebra did not have a handler for tunnels in v6 for
some reason.  Add code to handle the broadcast address
for both addition and deletion.

This appears to fix the crash.  There might still need
to be some work to make the code `work` properly for
this type of tunnel.

Fixes: FRRouting#2063
Signed-off-by: Donald Sharp <[email protected]>
When I implemented the same functionality in add_ipv6 that
add_ipv4 has I just assumed that broad would not be NULL with
the ZEBRA_IFA_PEER flag set.

Modify the code to act similiar to the flow of control
in add_ipv4.

Signed-off-by: Donald Sharp <[email protected]>
The SIOCGIFMEDIA ioctl returns EINVAL when a virtual interface is
given (e.g. tunnel interfaces). This was making zebra produce lots of
irrelevant log messages during startup, which were a source of concern
for many users. Silence these log messages since they can't be avoided
and are harmless.

Signed-off-by: Renato Westphal <[email protected]>
@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-4313/

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


Warnings Generated during build:

Ubuntu 18.04 amd64 build: Successful with additional warnings:

Debian Package lintian failed for Ubuntu 18.04 amd64 build:
(see full package build log at https://ci1.netdef.org/browse/FRR-FRRPULLREQ-4313/artifact/U1804AMD64/ErrorLog/log_lintian.txt)

W: frr: shared-lib-without-dependency-information usr/lib/libfrrfpm_pb.so.0.0.0
N: 6 tags overridden (5 warnings, 1 info)

CLANG Static Analyzer Summary

  • Github Pull Request 2590, comparing to Git base SHA 17a362c

No Changes in Static Analysis warnings compared to base

38 Static Analyzer issues remaining.

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

@donaldsharp donaldsharp merged commit c19bc04 into FRRouting:stable/4.0 Jul 2, 2018
@rwestphal rwestphal deleted the tunnel_fixes branch April 18, 2019 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants