linux/drivers/infiniband/ulp/iser
Or Gerlitz 0ace64b85e IBiser: Fix wrong mask when sizeof (dma_addr_t) > sizeof (unsigned long)
The code that prepares the SG associated with SCSI command for FMR was
buggy for systems with DMA addresses that don't fit in unsigned long,
e.g under the 32-bit based XenServer dom0 sizeof(dma_addr_t) is 8.

Fix that by casting to unsigned long long a masking constant used by
the code. This resolves a crash in iser_sg_to_page_vec on this system.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.co.il>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2011-08-17 09:40:55 -07:00
..
iscsi_iser.c [SCSI] iser: export addr and port 2011-02-24 12:41:23 -05:00
iscsi_iser.h IBiser: Fix wrong mask when sizeof (dma_addr_t) > sizeof (unsigned long) 2011-08-17 09:40:55 -07:00
iser_initiator.c iscsi: Resolve iscsi_proto.h naming conflicts with drivers/target/iscsi 2011-07-25 07:18:45 +00:00
iser_memory.c IB/iser: Use atomic allocations 2010-02-24 09:41:12 -08:00
iser_verbs.c RDMA/cma: Pass QP type into rdma_create_id() 2011-05-25 13:46:23 -07:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00