summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2014-04-07 13:58:35 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2014-04-11 15:31:20 -0700
commitb076808051f2c80d38e03fb2f1294f525c7a446d (patch)
treea3c4e85a78642f1bbb7632cee0c01c62dc8b83e9 /include
parente3d4440cdccd4702225f519c9613a11e6fa49c65 (diff)
downloadlwn-b076808051f2c80d38e03fb2f1294f525c7a446d.tar.gz
lwn-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 'include')
0 files changed, 0 insertions, 0 deletions