This patch series fix the 6lowpan fragmentation api according to rfc4944 and improves the payload length calculation.
I drop the current 6lowpan fragmentation on receiving side which has several issues like race conditions while fragmentation. The current 6lowpan fragmentation isn't rfc4944 compatible because the datagram_size and datagram_offset is wrong. The current api just use the ipv6 payload as datagram_size but correct is (ipv6 payload + transport/network header size) as payload, so fragmentation with other stacks like contiki comes possible. There is a little TODO on my list to drop the lot of skb_clones. I can't do this right now because the skb->csum is wrong. I need to look more deeper and check why this happen. Alexander Aring (4): 6lowpan: add frag information struct 6lowpan: fix fragmentation on sending side net: add ieee802154_6lowpan namespace 6lowpan: handling 6lowpan fragmentation via inet_frag api include/net/ieee802154_netdev.h | 7 + include/net/net_namespace.h | 4 + include/net/netns/ieee802154_6lowpan.h | 14 ++ net/ieee802154/6lowpan.c | 260 +++++--------------- net/ieee802154/Makefile | 2 +- net/ieee802154/reassembly.c | 437 +++++++++++++++++++++++++++++++++ net/ieee802154/reassembly.h | 64 +++++ 7 files changed, 590 insertions(+), 198 deletions(-) create mode 100644 include/net/netns/ieee802154_6lowpan.h create mode 100644 net/ieee802154/reassembly.c create mode 100644 net/ieee802154/reassembly.h -- 1.8.4.2 ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel