]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] be2iscsi: Fix a kernel panic because of TCP RST/FIN received.
authorJohn Soni Jose <sony.john-n@emulex.com>
Mon, 20 Aug 2012 17:30:55 +0000 (23:00 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 14 Sep 2012 16:59:27 +0000 (17:59 +0100)
commite7276c7df5fb3f2255e92e9d6d4e923cf3521c74
tree64d29a684c806f90bd42c4ae46f2838e87588f39
parentcef0f57b35401a4df3347b1a49b972cd86739454
[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>
drivers/scsi/be2iscsi/be_iscsi.c
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/be2iscsi/be_mgmt.h