[riot-notifications] [RIOT] ng_icmpv6: fix release of pkt (#3179)

Martine Lenders notifications at github.com
Tue Jun 9 23:41:18 CEST 2015


> We may also be able to just drop the line ng_pktbuf_hold(pkt, ng_netreg_num(NG_NETTYPE_ICMPV6, hdr->type)); instead of removing the -1. What's your opinion?

What's your rational behind that? How will the packets then hold in packet buffer if the applications/modules that subscribe to these types of packages release the packets (which they should, because they are the end of the line).

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3179#issuecomment-110512480
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150609/00b62f64/attachment.html>


More information about the notifications mailing list