6lowpan: handling 6lowpan fragmentation via inet_frag api
authorAlexander Aring <alex.aring@gmail.com>
Fri, 28 Feb 2014 06:32:50 +0000 (07:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Feb 2014 22:05:22 +0000 (17:05 -0500)
commit7240cdec60b136f3e64a453c7fbded4ed1aa047e
tree1ef358c776a1493ba1d2e6786bf070b05e960c48
parent633fc86ff621bba79dcddfd4c67fb07ae5f8467c
6lowpan: handling 6lowpan fragmentation via inet_frag api

This patch drops the current way of 6lowpan fragmentation on receiving
side and replace it with a implementation which use the inet_frag api.
The old fragmentation handling has some race conditions and isn't
rfc4944 compatible. Also adding support to match fragments on
destination address, source address, tag value and datagram_size
which is missing in the current implementation.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/ieee802154_6lowpan.h
net/ieee802154/6lowpan_rtnl.c
net/ieee802154/Makefile
net/ieee802154/reassembly.c [new file with mode: 0644]
net/ieee802154/reassembly.h [new file with mode: 0644]