diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-01-03 13:39:16 -0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-01-03 20:07:51 -0700 |
commit | a1ffa4670cb97ae3a4b3e8535d88be5f643f7c3b (patch) | |
tree | 06c12d75f4015df72d208388f8f46d0cb7fbd533 /security | |
parent | bec40c26041de61162f7be9d2ce548c756ce0f65 (diff) | |
download | linux-a1ffa4670cb97ae3a4b3e8535d88be5f643f7c3b.tar.gz linux-a1ffa4670cb97ae3a4b3e8535d88be5f643f7c3b.tar.bz2 linux-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 'security')
0 files changed, 0 insertions, 0 deletions