linux/drivers/infiniband/ulp
Bart Van Assche 14af4f4c21 IB/srpt: Fix ACL lookup during login
commit a1ffa4670c upstream.

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 2bce1a6d22 ("IB/srpt: Accept GUIDs as port names")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2018-01-17 09:45:17 +01:00
..
ipoib IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop 2017-12-20 10:10:37 +01:00
iser IB: Correct MR length field to be 64-bit 2017-09-25 11:47:23 -04:00
isert License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
opa_vnic IB/opa_vnic: Properly return the total MACs in UC MAC list 2017-12-25 14:26:30 +01:00
srp IB/srp: Avoid that a cable pull can trigger a kernel crash 2017-11-30 08:40:55 +00:00
srpt IB/srpt: Fix ACL lookup during login 2018-01-17 09:45:17 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00