Re: [PATCH] slip: Check if rstate is initialized before uncompressing

2018-04-05 Thread Guillaume Nault
On Wed, Apr 04, 2018 at 04:21:25PM +0530, Tejaswi Tanikella wrote: > On receiving a packet the state index points to the rstate which must be > used to fill up IP and TCP headers. But if the state index points to a > rstate which is unitialized, i.e. filled with zeros, it gets stuck in an >

[PATCH] slip: Check if rstate is initialized before uncompressing

2018-04-04 Thread Tejaswi Tanikella
On receiving a packet the state index points to the rstate which must be used to fill up IP and TCP headers. But if the state index points to a rstate which is unitialized, i.e. filled with zeros, it gets stuck in an infinite loop inside ip_fast_csum trying to compute the ip checsum of a header

[PATCH] slip: Check if rstate is initialized before uncompressing

2018-03-29 Thread Tejaswi Tanikella
On receiving a packet the state index points to the rstate which must be used to fill up IP and TCP headers. But if the state index points to a rstate which is unitialized, i.e. filled with zeros, watch-dog bites. It gets stuck in an infinite loop inside ip_fast_csum trying to compute the ip