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

2018-04-11 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 wit

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

2018-04-11 Thread David Miller
From: Tejaswi Tanikella Date: Wed, 11 Apr 2018 16:34:47 +0530 > 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 l