OSDN Git Service

scsi: lpfc: Set elsiocb contexts to NULL after freeing it
authorJohannes Thumshirn <jthumshirn@suse.de>
Tue, 10 Jan 2017 11:05:54 +0000 (12:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jul 2017 12:40:20 +0000 (14:40 +0200)
commit42a1d5b47594eb846f709f6558082919dabc7344
treecbb94999a94c359d99121fa7e1991f49bd85af47
parent7782ab228f64e7da4c47a90b40fbb80920ce722b
scsi: lpfc: Set elsiocb contexts to NULL after freeing it

[ Upstream commit 8667f515952feefebb3c0f8d9a9266c91b101a46 ]

Set the elsiocb contexts to NULL after freeing as others depend on it.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/lpfc/lpfc_els.c