[SCSI] be2iscsi: Fix memory leak in control path of driver
In contorl path of the driver the task was mapped using pci_map_single which was not unmapped when the completion for the task had come. Signed-off-by: John Soni Jose <sony.john-n@emulex.com> Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:

committed by
James Bottomley

parent
6763daae8f
commit
d629c47171
@@ -410,6 +410,8 @@ struct beiscsi_io_task {
|
||||
struct be_cmd_bhs *cmd_bhs;
|
||||
struct be_bus_address bhs_pa;
|
||||
unsigned short bhs_len;
|
||||
dma_addr_t mtask_addr;
|
||||
uint32_t mtask_data_count;
|
||||
};
|
||||
|
||||
struct be_nonio_bhs {
|
||||
|
Reference in New Issue
Block a user