diff options
author | John Soni Jose <sony.john-n@emulex.com> | 2012-08-20 21:30:55 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-14 20:59:27 +0400 |
commit | 0a513dd8736cdf96821d137b066b6fd44d3eb2cf (patch) | |
tree | 64d29a684c806f90bd42c4ae46f2838e87588f39 /drivers/scsi/be2iscsi/be_mgmt.h | |
parent | 6f72238e774742f618ba0332b76b1860762a40cb (diff) | |
download | linux-0a513dd8736cdf96821d137b066b6fd44d3eb2cf.tar.xz |
[SCSI] be2iscsi: Fix a kernel panic because of TCP RST/FIN received.
A TCP RST/FIN can be received even before the connection specific
structures are initialized.This fix checks for the conn structure
is intialized or not when RST/FIN is received.
Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_mgmt.h')
-rw-r--r-- | drivers/scsi/be2iscsi/be_mgmt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/be2iscsi/be_mgmt.h b/drivers/scsi/be2iscsi/be_mgmt.h index 1bbac5c69da2..c50cef6fec0d 100644 --- a/drivers/scsi/be2iscsi/be_mgmt.h +++ b/drivers/scsi/be2iscsi/be_mgmt.h @@ -108,6 +108,7 @@ unsigned int mgmt_vendor_specific_fw_cmd(struct be_ctrl_info *ctrl, struct bsg_job *job, struct be_dma_mem *nonemb_cmd); +#define BEISCSI_NO_RST_ISSUE 0 struct iscsi_invalidate_connection_params_in { struct be_cmd_req_hdr hdr; unsigned int session_handle; |