The err variable can only be zero in this case.
Signed-off-by: Alexander Aring
Reviewed-by: Werner Almesberger
---
net/ieee802154/6lowpan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c
index d288035..9057f83 100644
--- a
This patch series includes some trivial changes to prepare the 6lowpan stack
for upcomming patch-series which mainly fix fragmentation according to rfc4944
and udp handling(which is currently broken).
Changes since v2:
- change intendation in patch 3/5
- fix typo in 5/5 unecessary -> unnecessa
This patch uses the netdev_alloc_skb instead dev_alloc_skb function and
drops the seperate assignment to skb->dev.
Signed-off-by: Alexander Aring
Reviewed-by: Werner Almesberger
---
net/ieee802154/6lowpan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/ieee802154/6
Signed-off-by: Alexander Aring
Reviewed-by: Werner Almesberger
---
net/ieee802154/6lowpan.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c
index ff41b4d..d288035 100644
--- a/net/ieee802154/6lowpan.c
+++ b/net/ieee802
This patch removes the assignment of skb->dev. We don't need it here because
we use the netdev_alloc_skb_ip_align function which already sets the
skb->dev.
Signed-off-by: Alexander Aring
Reviewed-by: Werner Almesberger
---
net/ieee802154/6lowpan.c | 1 -
1 file changed, 1 deletion(-)
diff --gi
Signed-off-by: Alexander Aring
Reviewed-by: Werner Almesberger
---
net/ieee802154/6lowpan.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c
index 665b118..6d75038 100644
--- a/net/ieee802154/6lowpan.c
+++ b/net/ieee802154/6lowpan.c
@@ -440,7
On Sat, Oct 26, 2013 at 03:54:00PM +0200, Alexander Aring wrote:
> This patch uses the netdev_alloc_skb instead dev_alloc_skb function and
> drops the seperate assignment to skb->dev.
>
> Signed-off-by: Alexander Aring
> Reviewed-by: Werner Almesberger
> ---
> net/ieee802154/6lowpan.c | 4 ++--
From: Joe Perches
Date: Fri, 25 Oct 2013 23:01:44 -0700
> On Sat, 2013-10-26 at 01:42 -0400, David Miller wrote:
>> From: Alexander Aring
>> Date: Thu, 24 Oct 2013 22:51:42 +0200
>>
>> > @@ -1127,12 +1127,12 @@ lowpan_fragment_xmit(struct sk_buff *skb, u8 *head,
>> >
>> >lowpan_raw_dump_i