[riot-devel] RPL test project does not work due to errors in 6LoWPAN

Martin L. martin.landsmann at haw-hamburg.de
Mon Sep 23 16:25:58 CEST 2013


Hi all,

we managed to workaround the violating memory access of lowpan_reas_buf_t (1).
This has been caused by receiving and keeping packets that are no further processed, 
e.g. when packets contained not distinctable context information in the 6lowpan header (UNSPECIFIED address flag).
Unfortunately the workaround just prevents the illegal access on the unallocated address, 
it does not clean up the stuffed buffer.

Additionally we found and fixed a bug preventing a right lowpan context distinction (2).
It turned out that querying if an IPv6 address is a link local one had a typo accessing the address bytes.
This resulted ipv6_iface_get_best_src_addr(...) to always set the source IP address to 0s and the 
UNSPECIFIED address flag (SAM) in the 6lowpan header. 

both changes can be pulled by:
git pull https://github.com/BytesGalore/RIOT sixlopan_fixes


Best regards,
Martin


More information about the devel mailing list