Re: [PATCH 1/1] net: thunderx: avoid null pointer dereference

2016-05-19 Thread David Miller
From: Heinrich Schuchardt Date: Tue, 17 May 2016 21:40:38 +0200 > In function bgx_lmac_handler only use a member of > lmac after checking it is not null. > > Signed-off-by: Heinrich Schuchardt Applied.

Re: [PATCH 1/1] net: thunderx: avoid null pointer dereference

2016-05-17 Thread Heinrich Schuchardt
On 05/17/2016 10:21 PM, David Daney wrote: > On 05/17/2016 12:40 PM, Heinrich Schuchardt wrote: >> In function bgx_lmac_handler only use a member of >> lmac after checking it is not null. >> > > Were you seeing and actual OOPs, or is this only a theoretical problem > flagged by some sort of

Re: [PATCH 1/1] net: thunderx: avoid null pointer dereference

2016-05-17 Thread David Daney
On 05/17/2016 12:40 PM, Heinrich Schuchardt wrote: In function bgx_lmac_handler only use a member of lmac after checking it is not null. Were you seeing and actual OOPs, or is this only a theoretical problem flagged by some sort of static code checker? Signed-off-by: Heinrich Schuchardt