Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 980edbd5 authored by Simon Vincent's avatar Simon Vincent Committed by Marcel Holtmann
Browse files

6lowpan: fix udp header compression when using raw sockets



If you use RAW sockets the transport header offset is not set by the
ipv6 stack so when we get to the udp header compression it does not
compress the right part of the packet.

This patch adds a check for this scenario and sets the transport
header offset.

Signed-off-by: default avatarSimon Vincent <simon.vincent@xsilon.com>
Acked-by: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 2a68c897
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment