[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1376683199-10370-1-git-send-email-alex.aring@gmail.com>
Date: Fri, 16 Aug 2013 21:59:53 +0200
From: Alexander Aring <alex.aring@...il.com>
To: alex.bluesman.smirnov@...il.com
Cc: dbaryshkov@...il.com, davem@...emloft.net,
linux-zigbee-devel@...ts.sourceforge.net, netdev@...r.kernel.org,
Alexander Aring <alex.aring@...il.com>
Subject: [PATCHv3 net-next 0/6] 6lowpan: address uncompression fixes
The current implementation to uncompress addresses in a 6lowpan header
is completely broken.
This patch series fixes the parsing of addresses in a 6lowpan header.
It contains a major rewrite of the uncompress address function to parse
the address in a correct way.
Tested with the ravenusbstick(contiki 6LoWPAN stack) and beaglebone
(linux 6LoWPAN Stack) on the other side. The linux side contains all
possible addresses for the uncompression cases. Then I type a ping6 for
each case and lookup in wireshark and dmesg the correct reconstruction.
Please apply this patch series on net-next in order 1/7 to 7/7.
Changes since v3:
- Fix byte ordering problem in uncompression of short-address.
Thanks for this hint.
- drop pr_debug before lowpan_raw_dump_inline
Changes since v2:
- Add tags for net-next
- Change commit msg in Patch 1/6 that this patch depends for the following
patches
Alexander Aring (5):
6lowpan: init ipv6hdr buffer to zero
6lowpan: introduce lowpan_fetch_skb function
6lowpan: add function to uncompress multicast addr
6lowpan: lowpan_uncompress_addr with address_mode
6lowpan: handle context based source address
David Hauweele (1):
6lowpan: Fix fragmentation with link-local compressed addresses
net/ieee802154/6lowpan.c | 286 +++++++++++++++++++++++++++++++----------------
net/ieee802154/6lowpan.h | 20 +++-
2 files changed, 204 insertions(+), 102 deletions(-)
--
1.8.3.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists