]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-netdev.c
networkd: netdev - take ref when creating netdevs
authorTom Gundersen <teg@jklm.no>
Tue, 1 Jul 2014 17:41:45 +0000 (19:41 +0200)
committerTom Gundersen <teg@jklm.no>
Tue, 1 Jul 2014 18:33:30 +0000 (20:33 +0200)
commit8900367cd26c148200b4788cd9ae05995ceeb74c
tree280f5263dd0b96235258fb2560a833e59d098dae
parenteafbd4d7cebe50b55324514cc7e95f003dd8ab47
networkd: netdev - take ref when creating netdevs

We were doing this correctly for when the callback takes the Link object, but
must also do it for the cases it takes the NetDev object.
src/network/networkd-netdev.c
src/network/networkd-veth.c