commit | e6bf5f48d2adc443689c5e627bcd559b00201e5c | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | Thu Jul 30 17:22:22 2015 -0600 |
committer | Doug Ledford <dledford@redhat.com> | Sun Aug 30 18:12:35 2015 -0400 |
tree | db586539e6decfe1c9091a4bdee62a392909c238 | |
parent | 34efc7dfbd88e4a232b1efa31c5e900606c84fca [diff] |
IB/srp: Use pd->local_dma_lkey Replace all leys with pd->local_dma_lkey. This driver does not support iWarp, so this is safe. The insecure use of ib_get_dma_mr is thus isolated to an rkey, and will have to be fixed separately. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Doug Ledford <dledford@redhat.com>