err: ib_ucm_destroy_ctx(file, ctx->id); 
static ssize_t ib_ucm_create_id(struct ib_ucm_file *file,				const char __user *inbuf,				int in_len, int out_len){	struct ib_ucm_create_id cmd;	struct ib_ucm_create_id_resp resp;	struct ib_ucm_context *ctx;	int result;	if (out_len < sizeof(resp))		return -ENOSPC;	if (copy_from_user(&cmd, inbuf, sizeof(cmd)))		return -EFAULT;	ctx = ib_ucm_ctx_alloc(file);	if (!ctx)		return -ENOMEM;	ctx->cm_id = ib_create_cm_id(ib_ucm_event_handler,				     (void *)(unsigned long)ctx->id);	if (!ctx->cm_id) {		result = -ENOMEM;		goto err_cm;	}	resp.id = ctx->id;	if (copy_to_user((void __user *)(unsigned long)cmd.response,			 &resp, sizeof(resp))) {		result = -EFAULT;		goto err_ret;	}	return 0;err_ret:	ib_destroy_cm_id(ctx->cm_id);err_cm:	ib_ucm_ctx_put(ctx); /* user reference */	return result;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b9ef520f9caf20aba8ac7cb2bbba45b52ff19d53/ucm.c/clean/drivers/infiniband/core/ucm.c