[riot-notifications] [RIOT] ng_sixlowpan: write protect pkt (#3224)

Martine Lenders notifications at github.com
Fri Jun 19 16:23:57 CEST 2015


> @@ -59,6 +59,21 @@ void _receive(ng_pktsnip_t *pkt)
>      uint8_t *dispatch;
>      ng_netreg_entry_t *entry;
>  
> +    /* seize payload as a temporary variable */
> +    payload = ng_pktbuf_start_write(pkt);   /* need to duplicate since pkt->next

No `ng_pktbuf_start_write()` just duplicates this one snip

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3224/files#r32833293
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150619/6ed7bd9c/attachment.html>


More information about the notifications mailing list