[ipoib] Fix a bug on __recv_get_endpts.
[mirror/winof/.git] / 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