Re: [PATCH] 6lowpan: iphc: reset mac_header after decompress to fix panic

2018-07-05 Thread Jukka Rissanen
On Tue, 2018-06-19 at 16:44 -0700, Michael Scott wrote: > After decompression of 6lowpan socket data, an IPv6 header is > inserted > before the existing socket payload. After this, we reset the > network_header value of the skb to account for the difference in > payload > size from prior to decomp

[PATCH] 6lowpan: iphc: reset mac_header after decompress to fix panic

2018-06-19 Thread Michael Scott
After decompression of 6lowpan socket data, an IPv6 header is inserted before the existing socket payload. After this, we reset the network_header value of the skb to account for the difference in payload size from prior to decompression + the addition of the IPv6 header. However, we fail to rese