• Tony Cheneau's avatar
    6lowpan: fix first fragment (FRAG1) handling · d991b98f
    Tony Cheneau authored
    The first fragment, FRAG1, must contain some payload according to the
    specs. However, as it is currently written, the first fragment will
    remain empty and only contain the 6lowpan headers.
    
    This patch also extracts the transport layer information from the first
    fragment. This information is used later on when uncompressing UDP
    header.
    
    Thanks to Wolf-Bastian Pöttner for noticing that the offset value was
    not properly initialized.
    Signed-off-by: default avatarTony Cheneau <tony.cheneau@amnesiak.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d991b98f
6lowpan.c 35.2 KB