]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-netlink: do not use atomic reference counters
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 1 Mar 2019 17:31:45 +0000 (18:31 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 4 Mar 2019 13:16:39 +0000 (14:16 +0100)
commitf23ab4dc3ca9a97470ca46775a6cd406a82de6d5
treec8cc1b41632a9f9d49528c29ab383df0c22d738a
parentaf407110505d7394b7e2b45566affa1fd0fed00b
sd-netlink: do not use atomic reference counters

Same as with the other users, any non-trivial use of the objects requires
use from a single thread only or external locking. Using atomic operations
just for reference counts is not useful.
src/libsystemd/sd-netlink/netlink-internal.h
src/libsystemd/sd-netlink/netlink-message.c
src/libsystemd/sd-netlink/netlink-socket.c
src/libsystemd/sd-netlink/rtnl-message.c
src/libsystemd/sd-netlink/sd-netlink.c