]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2iscsi:Fix double free of MCCQ info memory.
authorroot <root@localhost.localdomain>
Wed, 2 May 2012 14:14:51 +0000 (19:44 +0530)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 11 May 2012 00:08:51 +0000 (17:08 -0700)
commita5d1d421f29ad5796dd89519ee766e91c8066c96
treeaab2ee1d05101013d793c8ab9502dda331b33736
parent5465872e0b0bee5d6aab31ddcd8f3e8253edfaf8
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: root <root@localhost.(none)>
drivers/scsi/be2iscsi/be_main.c