Print this page
patch tsoome-feedback

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdladm/common/libdllink.c
          +++ new/usr/src/lib/libdladm/common/libdllink.c
↓ open down ↓ 572 lines elided ↑ open up ↑
 573  573                  goto done;
 574  574  
 575  575          if (rcm_notify_event(rcm_hdl, RCM_RESOURCE_LINK_NEW, 0, nvl, NULL) ==
 576  576              RCM_SUCCESS) {
 577  577                  status = DLADM_STATUS_OK;
 578  578          }
 579  579  
 580  580  done:
 581  581          if (rcm_hdl != NULL)
 582  582                  (void) rcm_free_handle(rcm_hdl);
 583      -        if (nvl != NULL)
 584      -                nvlist_free(nvl);
      583 +        nvlist_free(nvl);
 585  584          return (status);
 586  585  }
 587  586  
 588  587  /*
 589  588   * case 3: rename a non-existent link to a REMOVED physical link.
 590  589   * Set the removed physical link's device name to link1, so that
 591  590   * when link1 attaches, it inherits all the link configuration of
 592  591   * the removed physical link.
 593  592   */
 594  593  static dladm_status_t
↓ open down ↓ 432 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX