Commit 5c00c0cb authored by's avatar Committed by David S. Miller
Browse files

6lowpan: fix hop limit compression

Add missing pointer shift for the 'default' case.
Signed-off-by: default avatarAlexander Smirnov <>
Cc: Tony Cheneau <>
Signed-off-by: default avatarDavid S. Miller <>
parent c5d3687f
...@@ -492,6 +492,7 @@ static int lowpan_header_create(struct sk_buff *skb, ...@@ -492,6 +492,7 @@ static int lowpan_header_create(struct sk_buff *skb,
break; break;
default: default:
*hc06_ptr = hdr->hop_limit; *hc06_ptr = hdr->hop_limit;
hc06_ptr += 1;
break; break;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment