Re: [PATCH 06/28] IB/srpt: Fix ACL lookup during login

Jason Gunthorpe
2018-01-04T03:12:13Z

On Wed, Jan 03, 2018 at 01:39:16PM -0800, Bart Van Assche wrote:
> 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-Sjgp3cTcYWE@public.gmane.org>
> Cc: <stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
> drivers/infiniband/ulp/srpt/ib_srpt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-rc, thanks

Jason