Re: [Linux-zigbee-devel] [PATCH 2/2] 6lowpan: Handle uncompressed IPv6 packets over 6LoWPAN

2013-01-16 Thread David Miller
From: Alan Ott Date: Wed, 16 Jan 2013 00:43:57 -0500 > + local_skb = skb_copy_expand(skb, NET_SKB_PAD - 1, > + skb_tailroom(skb), GFP_ATOMIC); This is not indented properly. When a function call spans multiple lines, the second and subsequ

Re: [Linux-zigbee-devel] [PATCH 2/2] 6lowpan: Handle uncompressed IPv6 packets over 6LoWPAN

2013-01-16 Thread Alan Ott
On 01/16/2013 04:22 PM, David Miller wrote: > From: Alan Ott > Date: Wed, 16 Jan 2013 00:43:57 -0500 > >> +local_skb = skb_copy_expand(skb, NET_SKB_PAD - 1, >> +skb_tailroom(skb), GFP_ATOMIC); > This is not indented properly. > > When a funct

[Linux-zigbee-devel] [PATCH v2 2/2] 6lowpan: Handle uncompressed IPv6 packets over 6LoWPAN

2013-01-16 Thread Alan Ott
Handle the reception of uncompressed packets (dispatch type = IPv6). Signed-off-by: Alan Ott --- net/ieee802154/6lowpan.c | 41 - 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index 1714c

[Linux-zigbee-devel] [PATCH v2 1/2] 6lowpan: Refactor packet delivery into a function

2013-01-16 Thread Alan Ott
Refactor the handing of the skb's to the individual lowpan devices into a function. Signed-off-by: Alan Ott --- net/ieee802154/6lowpan.c | 38 -- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.

[Linux-zigbee-devel] [PATCH v2 0/2] Handle Uncompressed IPv6 on 6LoWPAN

2013-01-16 Thread Alan Ott
This has been tested by exchanging data with with the Contiki operating system using a Redwire Econotag. Contiki had to be set to send uncompressed data, and had to have a #define modified to enable reception and processing of header-compressed packets when not set to send compressed data. Versio