[Linux-zigbee-devel] [PATCH][linux-bluetooth 0/3] Fix lowpan_rcv

2014-09-10 Thread Martin Townsend
This series aims to cleanup the lowpan receive path and fix a few issues. RFC compliancy by supported fragmented uncompressed IPv6 headers Fix incorrect return values in lowpan_rcv To achieve this it also refactors the receive path to 1) free skb only from lowpan_rcv and not functions that it ca

[Linux-zigbee-devel] [PATCH][linux-bluetooth 0/3] Fix lowpan_rcv

2014-09-10 Thread Martin Townsend
This series aims to cleanup the lowpan receive path and fix a few issues. RFC compliancy by supported fragmented uncompressed IPv6 headers Fix incorrect return values in lowpan_rcv To achieve this it also refactors the receive path to 1) free skb only from lowpan_rcv and not functions that it ca

[Linux-zigbee-devel] [PATCH][linux-bluetooth 2/3] 6lowpan: Move skb delivery from IPHC.

2014-09-10 Thread Martin Townsend
Passing the skb from 6lowpan up to the higher layers is not a function of IPHC. By moving it out of IPHC we also remove the need to support error code returns with NET_RX codes. It also makes the lowpan_rcv function more extendable as we can support more compression schemes. Signed-off-by: Martin

[Linux-zigbee-devel] [PATCH][linux-bluetooth 1/3] 6lowpan: skb freed locally from lowpan_rcv

2014-09-10 Thread Martin Townsend
Currently there are a number of error paths in the lowpan_rcv function that free the skb before returning, this patch simplifies the receive path by ensuring that the skb is only freed from this function. Signed-off-by: Martin Townsend --- include/net/6lowpan.h | 2 +- net/6lowpan/iphc.

[Linux-zigbee-devel] [PATCH][linux-bluetooth 3/3] 6lowpan: Refactored lowpan_rcv so it's RFC compliant

2014-09-10 Thread Martin Townsend
Currently we support uncompressed IPv6 headers after performing fragmentation. Signed-off-by: Martin Townsend --- include/net/6lowpan.h | 17 net/ieee802154/6lowpan_rtnl.c | 63 +++ 2 files changed, 51 insertions(+), 29 deletions(-) d