Re: [PATCH] fore200e: Fix incorrect checks of NULL pointer dereference

From: David Miller
Date: Mon Dec 16 2019 - 19:28:32 EST


From: Aditya Pakki <pakki001@xxxxxxx>
Date: Sun, 15 Dec 2019 10:14:51 -0600

> In fore200e_send and fore200e_close, the pointers from the arguments
> are dereferenced in the variable declaration block and then checked
> for NULL. The patch fixes these issues by avoiding NULL pointer
> dereferences.
>
> Signed-off-by: Aditya Pakki <pakki001@xxxxxxx>

Applied to net-next.