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
This commit is contained in:
Hans Petter Selasky 2018-07-17 09:21:05 +00:00
parent 083cdbac35
commit 89a0812fa6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336378

View File

@ -466,6 +466,7 @@ static ssize_t ucma_create_id(struct ucma_file *file, const char __user *inbuf,
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)) {