1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
systemd/src/network
David Herrmann e6b18ffaea sd-dhcp: don't randomly ref objects
In our API design, getter-functions don't ref objects. Calls like
foo_get_bar() will not ref 'bar'. We never do that and there is no real
reason to do it in single threaded APIs. If you need a ref-count, you
better take it yourself *BEFORE* doing anything else on the parent object
(as this might invalidate your pointer).

Right now, sd_dhcp?_get_lease() refs the lease it returns. A lot of
code-paths in systemd do not expect this and thus leak the lease
reference. Fix this by changing the API to not ref returned objects.
2015-08-26 12:30:56 +02:00
..
.gitignore Revert "update gitignore" 2014-05-22 06:14:41 +09:00
Makefile networkd: add a basic network daemon 2013-11-09 23:41:17 +01:00
networkctl.c tree-wide: fix indentation 2015-08-06 00:44:19 +02:00
networkd-address-pool.c remove unused includes 2015-02-23 23:53:42 +01:00
networkd-address.c firewall: rename fw-util.[ch] → firewall-util.[ch] 2015-06-15 14:08:02 +02:00
networkd-dhcp4.c sd-dhcp: don't randomly ref objects 2015-08-26 12:30:56 +02:00
networkd-dhcp6.c sd-netlink: rename from sd-rtnl 2015-06-13 19:52:54 +02:00
networkd-fdb.c sd-netlink: rename from sd-rtnl 2015-06-13 19:52:54 +02:00
networkd-ipv4ll.c sd-netlink: rename from sd-rtnl 2015-06-13 19:52:54 +02:00
networkd-link-bus.c networkd: link_object_find - don't accept invalid input 2015-02-09 22:02:32 +01:00
networkd-link.c sd-network: make LLMNR specific config parser generic 2015-08-25 14:26:01 +02:00
networkd-link.h sd-netlink: rename from sd-rtnl 2015-06-13 19:52:54 +02:00
networkd-manager-bus.c networkd: gracefully handle failure to emit signals when dbus is not connected 2015-02-05 18:02:42 +01:00
networkd-manager.c tree-wide: fix indentation 2015-08-06 00:44:19 +02:00
networkd-netdev-bond.c sd-netlink: don't export internal type-system details 2015-06-24 13:46:15 +02:00
networkd-netdev-bond.h sd-netlink: don't export internal type-system details 2015-06-24 13:46:15 +02:00
networkd-netdev-bridge.c remove unused includes 2015-02-23 23:53:42 +01:00
networkd-netdev-bridge.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-dummy.c remove unused includes 2015-02-23 23:53:42 +01:00
networkd-netdev-dummy.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-gperf.gperf networkd: vxlan add support for GBP 2015-07-29 14:05:34 +05:30
networkd-netdev-ipvlan.c sd-netlink: rename from sd-rtnl 2015-06-13 19:52:54 +02:00
networkd-netdev-ipvlan.h networkd: netdev - add ipvlan support 2015-01-19 23:25:16 +01:00
networkd-netdev-macvlan.c networkd: add support for macvtap 2015-07-27 11:18:28 +05:30
networkd-netdev-macvlan.h networkd: add support for macvtap 2015-07-27 11:18:28 +05:30
networkd-netdev-tunnel.c networkd: fix size of networkd binary 2015-07-29 22:20:06 +05:30
networkd-netdev-tunnel.h networkd: fix size of networkd binary 2015-07-29 22:20:06 +05:30
networkd-netdev-tuntap.c networkd: tap add support for vnet_hdr 2015-07-14 14:10:56 +05:30
networkd-netdev-tuntap.h networkd: tap add support for vnet_hdr 2015-07-14 14:10:56 +05:30
networkd-netdev-veth.c sd-netlink: rename from sd-rtnl 2015-06-13 19:52:54 +02:00
networkd-netdev-veth.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-vlan.c networkd: vlan improve logging 2015-06-19 12:03:38 +05:30
networkd-netdev-vlan.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-vxlan.c networkd: vxlan add support for GBP 2015-07-29 14:05:34 +05:30
networkd-netdev-vxlan.h networkd: vxlan add support for GBP 2015-07-29 14:05:34 +05:30
networkd-netdev.c networkd: add support for macvtap 2015-07-27 11:18:28 +05:30
networkd-netdev.h networkd: add support for macvtap 2015-07-27 11:18:28 +05:30
networkd-network-bus.c property callback returns are consistent 2015-07-08 14:37:25 +02:00
networkd-network-gperf.gperf sd-network: make LLMNR specific config parser generic 2015-08-25 14:26:01 +02:00
networkd-network.c sd-network: make LLMNR specific config parser generic 2015-08-25 14:26:01 +02:00
networkd-route.c sd-netlink: rename from sd-rtnl 2015-06-13 19:52:54 +02:00
networkd-wait-online-link.c sd-netlink: rename from sd-rtnl 2015-06-13 19:52:54 +02:00
networkd-wait-online-link.h sd-netlink: rename from sd-rtnl 2015-06-13 19:52:54 +02:00
networkd-wait-online-manager.c networkd-wait-online: only consider interfaces given on the commandline 2015-07-29 20:30:50 +02:00
networkd-wait-online.c networkd-wait-online: fix -i argument 2015-07-26 15:39:09 +02:00
networkd-wait-online.h sd-netlink: rename from sd-rtnl 2015-06-13 19:52:54 +02:00
networkd.c Fix error message for enumerate addresses 2015-07-03 19:22:42 +09:00
networkd.h sd-network: make LLMNR specific config parser generic 2015-08-25 14:26:01 +02:00
org.freedesktop.network1.conf networkd: add basic dbus API 2015-02-05 11:50:34 +01:00
org.freedesktop.network1.service networkd: add basic dbus API 2015-02-05 11:50:34 +01:00
test-network-tables.c sd-netlink: rename from sd-rtnl 2015-06-13 19:52:54 +02:00
test-network.c networkd: refactor socket activation a bit 2015-02-03 22:20:38 +01:00