svn commit: r336378 - head/sys/ofed/drivers/infiniband/core

Hans Petter Selasky hselasky at FreeBSD.org
Tue Jul 17 09:21:06 UTC 2018


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)) {


More information about the svn-src-all mailing list