[riot-notifications] [RIOT] ng_ipv6: fix behavior for multicast over multiple interfaces (#3245)

Martine Lenders notifications at github.com
Tue Jun 23 16:29:00 CEST 2015


`ptr->next` is changed in the while loop, so `payload` is never reached (leading the function always to return `-ENOBUFS`).

Also the payload needs to be duplicated to (since the checksum is always different).

Lastly we need to send it to the array entry, not to `iface` (which is `KERNEL_PID_UNDEF`) at that point.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/3245

-- Commit Summary --

  * ng_ipv6: fix behavior for multicast over multiple interfaces

-- File Changes --

    M sys/net/network_layer/ng_ipv6/ng_ipv6.c (7)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/3245.patch
https://github.com/RIOT-OS/RIOT/pull/3245.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3245
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150623/67c664af/attachment.html>


More information about the notifications mailing list