[<prev] [next>] [day] [month] [year] [list]
Message-Id: <4fabc167.9208cc0a.4de8.ffff9218@mx.google.com>
Date: Thu, 10 May 2012 17:22:43 +0400
From: alex.bluesman.smirnov@...il.com
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
Alexander Smirnov <alex.bluesman.smirnov@...il.com>,
Tony Cheneau <tony.cheneau+zigbeedev@...esiak.org>
Subject: [PATCH 2/2 net] 6lowpan: fix hop limit compression
From: Alexander Smirnov <alex.bluesman.smirnov@...il.com>
Add missing pointer shift for the 'default' case.
Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@...il.com>
Cc: Tony Cheneau <tony.cheneau+zigbeedev@...esiak.org>
---
net/ieee802154/6lowpan.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c
index 0ab3efe..86f0013 100644
--- a/net/ieee802154/6lowpan.c
+++ b/net/ieee802154/6lowpan.c
@@ -492,6 +492,7 @@ static int lowpan_header_create(struct sk_buff *skb,
break;
default:
*hc06_ptr = hdr->hop_limit;
+ hc06_ptr += 1;
break;
}
--
1.7.2.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists