>
> I still can not reproduce the hang, but try this and see if it fixes
> your problem (whitespace damaged on paste):
>
> diff --git a/lib/libnetlink.c b/lib/libnetlink.c
> index 7ca47b22581a..9d692afbc740 100644
> --- a/lib/libnetlink.c
> +++ b/lib/libnetlink.c
> @@ -670,8 +672,9 @@ static int __rtnl_talk_iov(struct rtnl_handle *rtnl,
> struct iovec *iov,
>                                                 free(buf);
>                                         if (h->nlmsg_seq == seq)
>                                                 return 0;
> -                                       else
> +                                       else if (i < iovlen)
>                                                 goto next;
> +                                       return 0;
>                                 }
>
>                                 if (rtnl->proto != NETLINK_SOCK_DIAG &&

Yes. this solves our problem.
Thanks a lot!
William

Reply via email to