Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

static void release_link_info ( struct rtnl_link *  link  )  [static]

Definition at line 184 of file link.c.

References rtnl_link_info_ops::io_free, and rtnl_link_info_ops::io_refcnt.

Referenced by rtnl_link_set_info_type().

{
      struct rtnl_link_info_ops *io = link->l_info_ops;

      if (io != NULL) {
            io->io_refcnt--;
            io->io_free(link);
            link->l_info_ops = NULL;
      }
}


Generated by  Doxygen 1.6.0   Back to index