On Thu, Mar 12, 2015 at 06:14:58PM +0000, Richard Maw wrote:
> diff --git a/src/libsystemd/sd-rtnl/sd-rtnl.c 
> b/src/libsystemd/sd-rtnl/sd-rtnl.c
> index ae49c77..5f54acd 100644
> --- a/src/libsystemd/sd-rtnl/sd-rtnl.c
> +++ b/src/libsystemd/sd-rtnl/sd-rtnl.c
> @@ -61,6 +61,11 @@ static int sd_rtnl_new(sd_rtnl **ret) {
>                              sizeof(struct nlmsghdr), sizeof(uint8_t)))
>                  return -ENOMEM;
>  
> +        /* Change notification responses have sequence 0, so we must
> +         * start our request sequence numbers at 1, or we may confuse our
> +         * responses with notifications from the kernel */
> +        rtnl->sequence = 1;

Whoops, sorry about the transcription error there. Thanks for fixing it
up Tom Gundersen.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to