be2iscsi: Fix kernel panic when device initialization fails
authorJohn Soni Jose <sony.john-n@emulex.com>
Thu, 12 Feb 2015 01:15:47 +0000 (06:45 +0530)
committerJames Bottomley <JBottomley@Odin.com>
Wed, 8 Apr 2015 16:40:57 +0000 (09:40 -0700)
commit2e7cee027b26cbe7e6685a7a14bd2850bfe55d33
treef81a6ee1d994edba897cf8a6ddd96bb58a5d2b7f
parent11e52a699afff576606ceb6cf697270459f1a4aa
be2iscsi: Fix kernel panic when device initialization fails

Kernel panic was happening as iscsi_host_remove() was called on
a host which was not yet added.

Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Cc: <stable@vger.kernel.org>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/be2iscsi/be_main.c
This page took 0.028745 seconds and 5 git commands to generate.