]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] be2iscsi: Fix double free of MCCQ info memory.
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>
Wed, 4 Apr 2012 04:41:42 +0000 (23:41 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 25 Apr 2012 08:09:22 +0000 (09:09 +0100)
commitb70ccf3863dc2aa8fa83a8f9a9aadd68028d1933
tree38e5042d777242db8950480ea11f072b880d67b6
parent9a9cc35cba2673a9ef079d14fd8a4c18dfcbee8b
[SCSI] be2iscsi: Fix double free of MCCQ info memory.

In case of MCC_Q creation failed, the MCCQ info memory is freed
from be_mcc_queues_destroy and be_mcc_queues_create. This caused
kernel to panic because of double free.

Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_main.c