Re: [libvirt] [PATCH 2/2] netlink: add support for multi-part netlink messages.

2015-08-04 Thread Dmitry Guryanov
On 07/31/2015 07:35 PM, Maxim Perevedentsev wrote: Such messages do not have NLMSG_ERROR or NLMSG_DONE type but they are valid responses. We test 'multi-partness' by looking for NLM_F_MULTI flag. This patch looks OK to me except for comment style. --- src/util/virnetlink.c | 4 +++- 1

[libvirt] [PATCH 2/2] netlink: add support for multi-part netlink messages.

2015-07-31 Thread Maxim Perevedentsev
Such messages do not have NLMSG_ERROR or NLMSG_DONE type but they are valid responses. We test 'multi-partness' by looking for NLM_F_MULTI flag. --- src/util/virnetlink.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util/virnetlink.c b/src/util/virnetlink.c index

[libvirt] [PATCH 2/2] netlink: add support for multi-part netlink messages.

2015-07-31 Thread Maxim Perevedentsev
Such messages do not have NLMSG_ERROR or NLMSG_DONE type but they are valid responses. We test 'multi-partness' by looking for NLM_F_MULTI flag. --- src/util/virnetlink.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util/virnetlink.c b/src/util/virnetlink.c index