chiark / gitweb /
networkd: link - take refcounts on links
authorTom Gundersen <teg@jklm.no>
Thu, 8 May 2014 17:46:06 +0000 (19:46 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 9 May 2014 12:41:27 +0000 (14:41 +0200)
commitb226d99b044222739dccfa9cf9f7a9d79576c407
tree72725d58273afa28235e40e4747df2d0a3efe09d
parent47e2dc3168cb0509d8d61f5dbeffaa3c252685b5
networkd: link - take refcounts on links

We need to take a refcount on the link whenever we expect a callback. The exceptions
are the ipv4ll/dhcp clients as their lifetimes are guaranteed to be shorter than that
of the link.
src/network/networkd-link.c
src/network/networkd-netdev.c