summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSimon Vincent <simon.vincent@xsilon.com>2014-11-04 15:29:51 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2014-11-04 16:31:01 (GMT)
commit980edbd503dc0823c75e138edc53a48f99e1e3f6 (patch)
treef5e93b5623f6453fa4cde8e130c3c1b4a65bfeb5 /fs
parent2a68c897246b70a0c6b51a4a7d48d19b56b3e76b (diff)
downloadlinux-980edbd503dc0823c75e138edc53a48f99e1e3f6.tar.xz
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: Simon Vincent <simon.vincent@xsilon.com> Acked-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions