[ipoib] Fix a bug on __recv_get_endpts.
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 6 Nov 2008 08:06:36 +0000 (08:06 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 6 Nov 2008 08:06:36 +0000 (08:06 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1737 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib/kernel/ipoib_port.c

index 2eedec4..f4dc2f9 100644 (file)
@@ -1850,6 +1850,7 @@ __recv_get_endpts(
                                IPOIB_PRINT_EXIT( TRACE_LEVEL_ERROR, IPOIB_DBG_ERROR,\r
                                        ("__endpt_mgr_insert returned %s\n",\r
                                        p_port->p_adapter->p_ifc->get_err_str( status )) );\r
+                               *pp_src = NULL;\r
                                return;\r
                        }\r
                        cl_obj_unlock( &p_port->obj );\r