提交 5c00c0cb 编写于 作者: A alex.bluesman.smirnov@gmail.com 提交者: David S. Miller

6lowpan: fix hop limit compression

Add missing pointer shift for the 'default' case.
Signed-off-by: NAlexander Smirnov <alex.bluesman.smirnov@gmail.com>
Cc: Tony Cheneau <tony.cheneau+zigbeedev@amnesiak.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c5d3687f
......@@ -492,6 +492,7 @@ static int lowpan_header_create(struct sk_buff *skb,
break;
default:
*hc06_ptr = hdr->hop_limit;
hc06_ptr += 1;
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册