[riot-notifications] [RIOT-OS/RIOT] gnrc_sixlowpan_frag: unroll recursion (#10681)

Cenk Gündoğan notifications at github.com
Mon Jan 7 20:43:19 CET 2019


cgundogan commented on this pull request.



>  
 void rbuf_add(gnrc_netif_hdr_t *netif_hdr, gnrc_pktsnip_t *pkt,
               size_t offset, unsigned page)
+{
+    if (_rbuf_add(netif_hdr, pkt, offset, page) == RBUF_ADD_REPEAT) {

A newcomer will ask **why** the function is called at least 2 times and **what** `RBUF_ADD_REPEAT` really means (;

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10681#discussion_r245774733
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190107/7aaf5825/attachment.html>


More information about the notifications mailing list