[systemd-commits] 2 commits - TODO src/libsystemd

Lennart Poettering lennart at kemper.freedesktop.org
Wed Dec 3 19:17:16 PST 2014


 TODO                                     |   11 +++++++++++
 src/libsystemd/sd-rtnl/local-addresses.c |    2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

New commits:
commit 0a86c1a9d8066267b878dfeddc5e0087dda6a37b
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Dec 4 04:17:09 2014 +0100

    update TODO

diff --git a/TODO b/TODO
index 39a9840..54e7c98 100644
--- a/TODO
+++ b/TODO
@@ -35,6 +35,17 @@ External:
 
 Features:
 
+* systemd-journal-upload (or a new, related tool): allow pushing out
+  journal messages onto the network in BSD syslog protocol,
+  continously. Default to some link-local IP mcast group, to make this
+  useful as a one-stop debugging tool.
+
+* synchronize console access with BSD locks:
+  http://lists.freedesktop.org/archives/systemd-devel/2014-October/024582.html
+
+* as soon as we have kdbus, and sender timestamps, revisit coalescing multiple parallel daemon reloads:
+  http://lists.freedesktop.org/archives/systemd-devel/2014-December/025862.html
+
 * set $REMOTE_IP (or $REMOTE_ADDR/$REMOTE_PORT) environment variable when doing per-connection socket activation. use format introduced by xinetd or CGI for this
 
 * the install state probably shouldn't get confused by generated units, think dbus1/kdbus compat!

commit 00d75e5752f68a7b5d066158fdf0adffcaa9a7f2
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Dec 4 04:16:29 2014 +0100

    rtnl: order local addresses/gateways by the address itself as last resort
    
    This way we can be sure that the returned list is stable regarding
    modifications in the kernel.

diff --git a/src/libsystemd/sd-rtnl/local-addresses.c b/src/libsystemd/sd-rtnl/local-addresses.c
index 629f896..e520cdf 100644
--- a/src/libsystemd/sd-rtnl/local-addresses.c
+++ b/src/libsystemd/sd-rtnl/local-addresses.c
@@ -50,7 +50,7 @@ static int address_compare(const void *_a, const void *_b) {
         if (a->ifindex > b->ifindex)
                 return 1;
 
-        return 0;
+        return memcmp(&a->address, &b->address, FAMILY_ADDRESS_SIZE(a->family));
 }
 
 int local_addresses(sd_rtnl *context, int ifindex, int af, struct local_address **ret) {



More information about the systemd-commits mailing list