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

gnrc_ipv6_nib: fix RA reception for non-6LN interfaces #10724

Merged
merged 1 commit into from Jan 8, 2019

Conversation

miri64
Copy link
Member

@miri64 miri64 commented Jan 7, 2019

Contribution description

When having a non-6LN interface and a 6LN interface (e.g. on a border
router) the assertion can hit when a Router Advertisement is received.
This makes the check an if statement rather than an assertion, to
account for that case.

Testing procedure

Run a border router (e.g. with ESP-now where this problem arose). It now should not hit an assertion anymore. For non-border-routers the operation should still resume as normal.

Issues/PRs references

See #10524 (comment)

@miri64 miri64 added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Area: network Area: Networking labels Jan 7, 2019
@miri64 miri64 added this to the Release 2019.01 milestone Jan 7, 2019
@miri64 miri64 requested a review from gschorcht January 7, 2019 15:51
Copy link
Contributor

@gschorcht gschorcht left a comment

Choose a reason for hiding this comment

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

good solution

@gschorcht
Copy link
Contributor

Tested with my ESP border router.

@gschorcht gschorcht added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Jan 7, 2019
When having a non-6LN interface and a 6LN interface (e.g. on a border
router) the assertion can hit when a Router Advertisement is received.
This makes the check an `if` statement rather than an assertion, to
account for that case.

Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
@miri64 miri64 force-pushed the gnrc_ipv6_nib/fix/mixed-mode-ABRO branch from 739f5f2 to 1f71b30 Compare January 7, 2019 16:36
@miri64
Copy link
Member Author

miri64 commented Jan 7, 2019

Fixed and amended fixes directly for bugs pointed out by Murdock.

@miri64
Copy link
Member Author

miri64 commented Jan 8, 2019

@gschorcht good to merge?

@gschorcht gschorcht merged commit fb9e25f into RIOT-OS:master Jan 8, 2019
@gschorcht
Copy link
Contributor

Thanks

@miri64 miri64 deleted the gnrc_ipv6_nib/fix/mixed-mode-ABRO branch January 8, 2019 08:47
@miri64
Copy link
Member Author

miri64 commented Jan 8, 2019

Thank you for the review :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants