{
osm_al_bind_info_t *p_bind = (osm_al_bind_info_t *)h_bind;
osm_vendor_t *p_vend = p_bind->p_vend;
- ib_av_attr_t av;
- ib_api_status_t status;
OSM_LOG_ENTER( p_vend->p_log, osm_vendor_local_lid_change );
- /*
- The only thing we need to do is refresh the directed
- route address vector.
- */
- __osm_vendor_init_av( p_bind, &av );
-
- status = ib_destroy_av( p_bind->h_dr_av );
- p_bind->h_dr_av = NULL;
- if( status != IB_SUCCESS )
- {
- osm_log( p_vend->p_log, OSM_LOG_ERROR,
- "osm_vendor_local_lid_change: ERR 3B32: "
- "Unable to destroy address vector (%s).\n",
- ib_get_err_str( status ) );
-
- goto Exit;
- }
-
- status = ib_create_av( p_vend->h_pd, &av, &p_bind->h_dr_av );
- if( status != IB_SUCCESS )
- {
- osm_log( p_vend->p_log, OSM_LOG_ERROR,
- "osm_vendor_local_lid_change: ERR 3B33: "
- "Unable to create address vector (%s).\n",
- ib_get_err_str( status ) );
-
- goto Exit;
- }
-
- Exit:
OSM_LOG_EXIT( p_vend->p_log );
- return( status );
+ return( IB_SUCCESS );
}
/**********************************************************************