[Linux-zigbee-devel] [PATCH v3 0/2] 6lowpan fixes

2012-09-01 Thread Alan Ott
v3 of this patch changes skb_copy() to skb_clone() in patch #1 at the recommendation of Eric Dumazet Alan Ott (2): 6lowpan: Make a copy of skb's delivered to 6lowpan 6lowpan: handle NETDEV_UNREGISTER event net/ieee802154/6lowpan.c | 53 +++--- 1 file

[Linux-zigbee-devel] [PATCH v3 2/2] 6lowpan: handle NETDEV_UNREGISTER event

2012-09-01 Thread Alan Ott
Before, it was impossible to remove a wpan device which had lowpan attached to it. Signed-off-by: Alan Ott --- net/ieee802154/6lowpan.c | 44 +--- 1 files changed, 37 insertions(+), 7 deletions(-) diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6

[Linux-zigbee-devel] [PATCH v3 1/2] 6lowpan: Make a copy of skb's delivered to 6lowpan

2012-09-01 Thread Alan Ott
Since lowpan_process_data() modifies the skb (by calling skb_pull()), we need our own copy so that it doesn't affect the data received by other protcols (in this case, af_ieee802154). Signed-off-by: Alan Ott --- net/ieee802154/6lowpan.c |9 - 1 files changed, 8 insertions(+), 1 delet

Re: [Linux-zigbee-devel] [PATCH v3 0/2] 6lowpan fixes

2012-09-01 Thread David Miller
From: Alan Ott Date: Sat, 1 Sep 2012 11:57:05 -0400 > v3 of this patch changes skb_copy() to skb_clone() in patch #1 at the > recommendation of Eric Dumazet > > Alan Ott (2): > 6lowpan: Make a copy of skb's delivered to 6lowpan > 6lowpan: handle NETDEV_UNREGISTER event All applied to net-n