be2iscsi : Fix memory check before unmapping.
authorJohn Soni Jose <sony.john-n@emulex.com>
Sat, 25 Apr 2015 02:47:45 +0000 (08:17 +0530)
committerJames Bottomley <JBottomley@Odin.com>
Mon, 25 May 2015 15:46:32 +0000 (08:46 -0700)
commiteb1c46924dfb48489272e8dc561bed9693e143d4
tree692c82ebbeabc5f15a35a41d6e059a021b913f0a
parent4e2bdf7a2b841422f207bb6d74819955e386a175
be2iscsi : Fix memory check before unmapping.

 Check DMA memory before it is unmapped.

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@Odin.com>
drivers/scsi/be2iscsi/be_main.c