aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorAlexander Aring <[email protected]>2013-08-16 21:59:58 +0200
committerDavid S. Miller <[email protected]>2013-08-20 13:23:12 -0700
commitce2463b283a0cb63e0e4de5e7d971b4c92be542a (patch)
tree53ffb342699069a3a9da9b12d0e8974b26782565 /include/linux/timerqueue.h
parent84c2e7bcf531a3881d602035243eda80e62d700a (diff)
6lowpan: lowpan_uncompress_addr with address_mode
This patch drops the pre and postcount calculation from the lowpan_uncompress_addr function.We use instead a switch/case over address_mode value. The original implementation has several bugs in this function and it was hard to decrypt how it works. To make it maintainable and fix these bugs this patch basically reimplements lowpan_uncompress_addr from scratch. A list of bugs we found in the current implementation: 1) Properly support uncompression of short-address based IPv6 addresses (instead of basically copying garbage) 2) Fix use and uncompression of long-addresses based IPv6 addresses 3) Add missing ff:fe00 in the case of SAM/DAM = 2 and M = 0 Signed-off-by: Alexander Aring <[email protected]> Reviewed-by: Werner Almesberger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions