Skip to content

Commit

Permalink
fixup! gnrc_sixlowpan_iphc: add rudimentary forwarding routine
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Dec 1, 2020
1 parent 6767e91 commit c8ef052
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,12 @@ void gnrc_sixlowpan_iphc_recv(gnrc_pktsnip_t *sixlo, void *rbuf_ptr,
}
}
if ((ipv6 == NULL) || (res < 0)) {
/* TODO fall-back to reassembly in minfwd when ipv6 != NULL */
/* TODO: There is a potential to fall-back to classic reassembly
* when ipv6 != NULL. However, since `ipv6` was reversed in
* `_encode_frag_for_forwarding`, that step needs to be reversed
* or a version of the old ipv6 needs to be held in the buffer.
* For now, just drop the packet all together in an error case
*/
gnrc_sixlowpan_frag_vrb_rm(vrbe);
}
gnrc_pktbuf_release(sixlo);
Expand Down

0 comments on commit c8ef052

Please sign in to comment.