]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7bbd3fac43441a7d5800c65b463c27a98c2d6da9
treef81a6ee1d994edba897cf8a6ddd96bb58a5d2b7f
parent7da2b7902fb7a029993d3b30f960cdd26f73f421
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