Re: [libvirt] [PATCH 1/2] network: added waiting for DAD to finish for bridge address.

2015-08-10 Thread Maxim Perevedentsev
On 08/04/2015 06:18 PM, Dmitry Guryanov wrote: On 07/31/2015 07:35 PM, Maxim Perevedentsev wrote: +/* return after DAD finishes for all known IPv6 addresses or an error */ +static int +networkWaitDadFinish(virNetworkObjPtr network) I'd put this function to src/util/virnetlink.c Then we shou

Re: [libvirt] [PATCH 1/2] network: added waiting for DAD to finish for bridge address.

2015-08-04 Thread Dmitry Guryanov
On 07/31/2015 07:35 PM, Maxim Perevedentsev wrote: This is a fix for commit db488c79173b240459c7754f38c3c6af9b432970 dnsmasq main process exits without waiting for DAD, this is dnsmasq daemon's task. So we periodically poll the kernel using netlink and check whether there are any IPv6 addresses a

[libvirt] [PATCH 1/2] network: added waiting for DAD to finish for bridge address.

2015-07-31 Thread Maxim Perevedentsev
This is a fix for commit db488c79173b240459c7754f38c3c6af9b432970 dnsmasq main process exits without waiting for DAD, this is dnsmasq daemon's task. So we periodically poll the kernel using netlink and check whether there are any IPv6 addresses assigned to bridge which have 'tentative' state. After

[libvirt] [PATCH 1/2] network: added waiting for DAD to finish for bridge address.

2015-07-31 Thread Maxim Perevedentsev
This is a fix for commit db488c79173b240459c7754f38c3c6af9b432970 dnsmasq main process exits without waiting for DAD, this is dnsmasq daemon's task. So we periodically poll the kernel using netlink and check whether there are any IPv6 addresses assigned to bridge which have 'tentative' state. After