commit | bbd20c939c8aa3f27fa30e86691af250bf92973a | [log] [tgz] |
---|---|---|
author | Aditya Pakki <pakki001@umn.edu> | Sun Dec 15 10:14:51 2019 -0600 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 16 16:28:17 2019 -0800 |
tree | 19ac769e171ba05cb9d299d11ffa02b6f1086513 | |
parent | 03d51c4fc50781bc92ba68dcc03d01ce3656e64a [diff] |
fore200e: Fix incorrect checks of NULL pointer dereference 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@umn.edu> Signed-off-by: David S. Miller <davem@davemloft.net>