summaryrefslogtreecommitdiff
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-11-01 08:25:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-13 10:05:31 +0100
commitebcdd1195ee26fbc172cde4915e9b1ae2c4bfd7e (patch)
treea0dfb18533002e1c612f774080d127e47cbe35a8 /kernel/fork.c
parent987f20645911a057ea530de68716101e5001c715 (diff)
scsi: bnx2fc: Fix NULL dereference in error handling
[ Upstream commit 9ae4f8420ed7be4b13c96600e3568c144d101a23 ] If "interface" is NULL then we can't release it and trying to will only lead to an Oops. Fixes: aea71a024914 ("[SCSI] bnx2fc: Introduce interface structure for each vlan interface") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions