Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2018 09:21:06 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336378 - head/sys/ofed/drivers/infiniband/core
Message-ID:  <201807170921.w6H9L6Yq013681@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Tue Jul 17 09:21:05 2018
New Revision: 336378
URL: https://svnweb.freebsd.org/changeset/base/336378

Log:
  Restore initialisation of ctx->uid in ucma_create_id() in ibcore.
  
  This fixes a regression issue after r336373.
  
  MFC after:		1 week
  Sponsored by:		Mellanox Technologies

Modified:
  head/sys/ofed/drivers/infiniband/core/ib_ucma.c

Modified: head/sys/ofed/drivers/infiniband/core/ib_ucma.c
==============================================================================
--- head/sys/ofed/drivers/infiniband/core/ib_ucma.c	Tue Jul 17 09:18:16 2018	(r336377)
+++ head/sys/ofed/drivers/infiniband/core/ib_ucma.c	Tue Jul 17 09:21:05 2018	(r336378)
@@ -466,6 +466,7 @@ static ssize_t ucma_create_id(struct ucma_file *file, 
 	if (!ctx)
 		return -ENOMEM;
 
+	ctx->uid = cmd.uid;
 	cm_id = rdma_create_id(TD_TO_VNET(curthread),
 			       ucma_event_handler, ctx, cmd.ps, qp_type);
 	if (IS_ERR(cm_id)) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807170921.w6H9L6Yq013681>