]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
networkd: link - improve refcounting
authorTom Gundersen <teg@jklm.no>
Tue, 1 Jul 2014 08:09:52 +0000 (10:09 +0200)
committerTom Gundersen <teg@jklm.no>
Tue, 1 Jul 2014 08:21:18 +0000 (10:21 +0200)
commit5da8149fd33f07aabdac72880143ec13e516f933
treebc42f86bd621058978ade64e312ebf83e48fbf3d
parent3a53fdaa34eded70d6f971234a9ac78891336f9e
networkd: link - improve refcounting

We failed to take a ref when waiting for udev synchronization. Fix that and also
make unreffing in callbacks simpler throughout by using _cleanup_ macros.

Fixes <https://bugs.freedesktop.org/show_bug.cgi?id=80556>.
src/network/networkd-link.c
src/network/networkd-manager.c