linux-hardened/drivers/scsi/bnx2i
Eddie Wai 8eea2f55a6 [SCSI] bnx2i: Added fix for NOP-Out response panic from unsolicited NOP-In
The patch fixes the following situations where NOP-Out pkt is called for:
- local unsolicited NOP-Out requests (requesting no NOP-In response)
- local NOP-Out responses to unsolicited NOP-In requests

kernel panic is observed due to double session spin_lock requests; one in the
bnx2i_process_nopin_local_cmpl routine in bnx2i_hwi.c and the other in the
iscsi_put_task routine in libiscsi.c

The proposed fix is to export the currently static __iscsi_put_task() routine
and have bnx2i call it directly instead of the iscsi_put_task() routine which
holds the session spin lock.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Anil Veerabhadrappa <anilgv@broadcom.com>
Acked-by: Benjamin Li <benli@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-12-21 12:24:10 -06:00
..
57xx_iscsi_constants.h cnic: Defer iscsi connection cleanup 2010-10-14 10:45:54 -07:00
57xx_iscsi_hsi.h [SCSI] bnx2i: Add bnx2i iSCSI driver. 2009-06-09 10:22:45 -05:00
bnx2i.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
bnx2i_hwi.c [SCSI] bnx2i: Added fix for NOP-Out response panic from unsolicited NOP-In 2010-12-21 12:24:10 -06:00
bnx2i_init.c [SCSI] bnx2i: Updated version to bnx2i-2.1.3 2010-09-05 14:51:16 -03:00
bnx2i_iscsi.c [SCSI] bnx2i: Added chip cleanup for the remove module path 2010-09-05 14:51:16 -03:00
bnx2i_sysfs.c [SCSI] bnx2i: Add bnx2i iSCSI driver. 2009-06-09 10:22:45 -05:00
Kconfig scsi: fix bnx2i build errors 2010-08-11 08:59:01 -07:00
Makefile [SCSI] bnx2i: Add bnx2i iSCSI driver. 2009-06-09 10:22:45 -05:00