diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2014-04-07 19:58:35 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-04-12 00:31:20 +0200 |
commit | b076808051f2c80d38e03fb2f1294f525c7a446d (patch) | |
tree | a3c4e85a78642f1bbb7632cee0c01c62dc8b83e9 /net/hsr/hsr_main.h | |
parent | target/tcm_fc: Rename ft_tport_create to ft_tport_get (diff) | |
download | linux-b076808051f2c80d38e03fb2f1294f525c7a446d.tar.xz linux-b076808051f2c80d38e03fb2f1294f525c7a446d.zip |
ib_srpt: Use correct ib_sg_dma primitives
The code was incorrectly using sg_dma_address() and
sg_dma_len() instead of ib_sg_dma_address() and
ib_sg_dma_len().
This prevents srpt from functioning with the
Intel HCA and indeed will corrupt memory
badly.
Cc: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Tested-by: Vinod Kumar <vinod.kumar@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Cc: stable@vger.kernel.org # 3.3+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'net/hsr/hsr_main.h')
0 files changed, 0 insertions, 0 deletions