Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Apr 2016 07:41:07 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r297655 - stable/10/sys/contrib/rdma/krping
Message-ID:  <201604070741.u377f7FO079598@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Thu Apr  7 07:41:06 2016
New Revision: 297655
URL: https://svnweb.freebsd.org/changeset/base/297655

Log:
  MFC r296934:
  Fix crash in krping when run as a client due to NULL pointer access.
  Initialize pointer in question which is used only when fast registers
  mode is selected.
  
  Sponsored by:	Mellanox Technologies

Modified:
  stable/10/sys/contrib/rdma/krping/krping.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/contrib/rdma/krping/krping.c
==============================================================================
--- stable/10/sys/contrib/rdma/krping/krping.c	Thu Apr  7 07:39:55 2016	(r297654)
+++ stable/10/sys/contrib/rdma/krping/krping.c	Thu Apr  7 07:41:06 2016	(r297655)
@@ -259,6 +259,7 @@ static int krping_cma_event_handler(stru
 
 	case RDMA_CM_EVENT_ROUTE_RESOLVED:
 		cb->state = ROUTE_RESOLVED;
+		cb->child_cm_id = cma_id;
 		wake_up_interruptible(&cb->sem);
 		break;
 



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