[openib-general] kdapltest server on x86_64

Tom Duffy tduffy at sun.com
Tue Jun 14 15:32:18 PDT 2005


On Tue, 2005-06-14 at 13:27 -0400, Hal Rosenstock wrote:
> Hi,
> 
> With the latest changes (can't tell when this broke), I get the
> following error on x86_64 when I bring up the server:

This should fix it.

Signed-off-by: Tom Duffy <tduffy at sun.com>

Index: linux-kernel/dat-provider/dapl_sp.c
===================================================================
--- linux-kernel/dat-provider/dapl_sp.c	(revision 2604)
+++ linux-kernel/dat-provider/dapl_sp.c	(working copy)
@@ -509,7 +509,7 @@ u32 dapl_psp_create(struct dat_ia *dat_i
 	dapl_dbg_log(DAPL_DBG_TYPE_API, "dapl_psp_create(%p, %X, %p, %X, %p)\n",
 		     dat_ia, conn_qual, dat_evd, psp_flags, dat_psp);
 
-	if (!ia) {
+	if (!dat_ia) {
 		status = DAT_ERROR(DAT_INVALID_HANDLE, DAT_INVALID_HANDLE_IA);
 		goto bail;
 	}




More information about the general mailing list