gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration#5525
Merged
miri64 merged 2 commits intoRIOT-OS:masterfrom Aug 25, 2016
Merged
gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration#5525miri64 merged 2 commits intoRIOT-OS:masterfrom
miri64 merged 2 commits intoRIOT-OS:masterfrom
Conversation
d93e93e to
890a237
Compare
Member
Author
|
There was a little bug introduced that is fixed in the latest iteration. |
| case PROTNUM_ICMPV6: | ||
| DEBUG("ipv6: handle ICMPv6 packet (nh = %u)\n", nh); | ||
| gnrc_icmpv6_demux(iface, pkt); | ||
| gnrc_pktbuf_release(pkt); |
Member
Author
There was a problem hiding this comment.
This removal was necessary because there isn't the release [hold] we had in https://github.com/RIOT-OS/RIOT/pull/5525/files#diff-9af59eae807169797112fdc7b1ca9504L140. Additionally, this simplifies a lot since we return to the event loop here anyways.
Member
|
Tested quickly on native, pinging still works. It looks good code-wise and removes a lot of clutter. ACK! Please address my comment and then set the CI flag. |
890a237 to
bd230d3
Compare
Member
Author
|
Addressed and squashed immediately. |
Member
Author
|
Murdock does not seem to finish... |
Merged
Contributor
It broke on #5747 (some weird synchronization error). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There were still some occurrences of manual lookup in
gnrc_netreginside and in the usage of GNRC, that need not to be. This PR fixes that (and is also, like #5524 a preperation step forgnrc_netregwithmboxes)