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: Fix #3597 (multi-hop ping) #3624

Merged
merged 4 commits into from
Aug 14, 2015
Merged

Conversation

miri64
Copy link
Member

@miri64 miri64 commented Aug 13, 2015

Fixes #3597

Less invasive alternative to #3622.

@miri64 miri64 added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Area: network Area: Networking NSTF labels Aug 13, 2015
@miri64 miri64 added this to the Release 2015.08 milestone Aug 13, 2015
@miri64 miri64 mentioned this pull request Aug 13, 2015
@miri64 miri64 added the CI: needs squashing Commits in this PR need to be squashed; If set, CI systems will mark this PR as unmergable label Aug 13, 2015
@OlegHahm
Copy link
Member

I would still strongly argue for splitting next-hop and neighbor cache lookup into separate functions. Even more splitting of this function would be beneficial.

@@ -689,6 +689,7 @@ static void _receive(ng_pktsnip_t *pkt)
ipv6->next = pkt; /* reorder for sending */
pkt->next = NULL;
_send(ipv6, false);
return;
Copy link
Member

Choose a reason for hiding this comment

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

Ah, that was probably the cause for the segfaults I saw yesterday.

@OlegHahm
Copy link
Member

The fix itself looks good. Will test now

@OlegHahm
Copy link
Member

Confirmed working. ACK

@miri64 miri64 added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: needs squashing Commits in this PR need to be squashed; If set, CI systems will mark this PR as unmergable labels Aug 14, 2015
@miri64 miri64 force-pushed the gnrc_ndp/fix/i3597 branch from 47ef3ff to 9f3cef5 Compare August 14, 2015 12:19
@miri64
Copy link
Member Author

miri64 commented Aug 14, 2015

Squashed.

@OlegHahm
Copy link
Member

Please squash. too slow

OlegHahm added a commit that referenced this pull request Aug 14, 2015
@OlegHahm OlegHahm merged commit a967fab into RIOT-OS:master Aug 14, 2015
@miri64 miri64 deleted the gnrc_ndp/fix/i3597 branch August 14, 2015 12:35
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.

3 participants