diff options
author | Richard Alpe <richard.alpe@ericsson.com> | 2016-03-03 14:20:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-06 22:54:56 -0500 |
commit | 2837f39c7cdbd209ab04d1c1f4eca015a40d5cd6 (patch) | |
tree | 53bce102b87f076951c45814b6871b3cbd172c78 /drivers/scsi/mvme147.c | |
parent | 9b3009604b8e305c32125530a3cbcc57d88f3bc1 (diff) | |
download | blackbird-op-linux-2837f39c7cdbd209ab04d1c1f4eca015a40d5cd6.tar.gz blackbird-op-linux-2837f39c7cdbd209ab04d1c1f4eca015a40d5cd6.zip |
tipc: don't check link reset on non existing link
Make sure we have a link before checking if it has been reset or not.
Prior to this patch tipc_link_is_reset() could be called with a non
existing link, resulting in a null pointer dereference.
Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/mvme147.c')
0 files changed, 0 insertions, 0 deletions