aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-01-03 13:39:16 -0800
committerJason Gunthorpe <jgg@mellanox.com>2018-01-03 20:07:51 -0700
commita1ffa4670cb97ae3a4b3e8535d88be5f643f7c3b (patch)
tree06c12d75f4015df72d208388f8f46d0cb7fbd533 /drivers/infiniband/core
parentIB/srpt: Disable RDMA access by the initiator (diff)
downloadlinux-dev-a1ffa4670cb97ae3a4b3e8535d88be5f643f7c3b.tar.xz
linux-dev-a1ffa4670cb97ae3a4b3e8535d88be5f643f7c3b.zip
IB/srpt: Fix ACL lookup during login
Make sure that the initiator port GUID is stored in ch->ini_guid. Note: when initiating a connection sgid and dgid members in struct sa_path_rec represent the source and destination GIDs. When accepting a connection however sgid represents the destination GID and dgid the source GID. Fixes: commit 2bce1a6d2209 ("IB/srpt: Accept GUIDs as port names") Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: <stable@vger.kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions