6lowpan: fix hop limit compression
Add missing pointer shift for the 'default' case. Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com> Cc: Tony Cheneau <tony.cheneau+zigbeedev@amnesiak.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Šī revīzija ir iekļauta:

revīziju iesūtīja
David S. Miller

vecāks
c5d3687f6c
revīzija
5c00c0cba5
@@ -492,6 +492,7 @@ static int lowpan_header_create(struct sk_buff *skb,
|
||||
break;
|
||||
default:
|
||||
*hc06_ptr = hdr->hop_limit;
|
||||
hc06_ptr += 1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user