Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Apr 2016 07:39:55 +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-9@freebsd.org
Subject:   svn commit: r297654 - stable/9/sys/contrib/rdma/krping
Message-ID:  <201604070739.u377dtow079483@repo.freebsd.org>

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

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/9/sys/contrib/rdma/krping/krping.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/contrib/rdma/krping/krping.c
==============================================================================
--- stable/9/sys/contrib/rdma/krping/krping.c	Thu Apr  7 07:38:18 2016	(r297653)
+++ stable/9/sys/contrib/rdma/krping/krping.c	Thu Apr  7 07:39:55 2016	(r297654)
@@ -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?201604070739.u377dtow079483>