John Taylor has posted comments on this change.
Change subject: vdsm: Fix memory leak in netlink.py ......................................................................
Patch Set 1:
(1 comment)
https://gerrit.ovirt.org/#/c/39372/1/lib/vdsm/netlink.py File lib/vdsm/netlink.py:
Line 63: link_get_by_name
based only on cursory review of the libnl docs, it seems that this function
the _rtnl_link_put on line 68 is the call that will decrement the refcount, allowing the later call to _nl_cache_free(cache), done in the _cache_manager @contextmanager finally block, to be able to free the links in the cache. It might make more sense to do it like in master https://gerrit.ovirt.org/#/c/39416/ where it is immediately following the call to get the link.