Re: [Dnsmasq-discuss] [PATCH] fix for netlink ENOBUF problem

2016-07-11 Thread Simon Kelley
Great stuff. Thanks chasing this. Patch applied. Cheers, Simon. On 11/07/16 13:17, Ivan Kokshaysky wrote: > Hi Simon, > > as expected, the second patch works well for us. Please apply. > > Ivan. > > diff --git a/src/netlink.c b/src/netlink.c > index 049247b..8cd51af 100644 > ---

Re: [Dnsmasq-discuss] [PATCH] fix for netlink ENOBUF problem

2016-07-11 Thread Ivan Kokshaysky
Hi Simon, as expected, the second patch works well for us. Please apply. Ivan. diff --git a/src/netlink.c b/src/netlink.c index 049247b..8cd51af 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -188,11 +188,17 @@ int iface_enumerate(int family, void *parm, int (*callback)()) }

Re: [Dnsmasq-discuss] [PATCH] fix for netlink ENOBUF problem

2016-07-07 Thread Ivan Kokshaysky
On Thu, Jul 07, 2016 at 08:16:52PM +0100, Simon Kelley wrote: > Great, many thanks. Is this patch on top of the original one, or an > alternative? It's alternative, I've dropped the old one. > Once it's all resolved, I'm happy to take the final patch. Excellent, thanks a lot! I hope this one is

Re: [Dnsmasq-discuss] [PATCH] fix for netlink ENOBUF problem

2016-07-07 Thread Simon Kelley
Great, many thanks. Is this patch on top of the original one, or an alternative? Once it's all resolved, I'm happy to take the final patch. Cheers, Simon. On 07/07/16 19:23, Ivan Kokshaysky wrote: > On Thu, Jul 07, 2016 at 03:32:11PM +0100, Simon Kelley wrote: >> On 06/07/16 14:55, Ivan

Re: [Dnsmasq-discuss] [PATCH] fix for netlink ENOBUF problem

2016-07-07 Thread Ivan Kokshaysky
On Thu, Jul 07, 2016 at 03:32:11PM +0100, Simon Kelley wrote: > On 06/07/16 14:55, Ivan Kokshaysky wrote: > > On Mon, Jul 04, 2016 at 01:58:43PM -0400, wkitt...@gmail.com wrote: > >> On 07/04/2016 11:29 AM, Ivan Kokshaysky wrote: > >>> To fix that we need to purge the netlink buffer on ENOBUF

Re: [Dnsmasq-discuss] [PATCH] fix for netlink ENOBUF problem

2016-07-07 Thread Simon Kelley
On 06/07/16 14:55, Ivan Kokshaysky wrote: > On Mon, Jul 04, 2016 at 01:58:43PM -0400, wkitt...@gmail.com wrote: >> On 07/04/2016 11:29 AM, Ivan Kokshaysky wrote: >>> To fix that we need to purge the netlink buffer on ENOBUF error. With the >>> appended patch dnsmasq is running flawlessly for about

Re: [Dnsmasq-discuss] [PATCH] fix for netlink ENOBUF problem

2016-07-06 Thread Ivan Kokshaysky
On Mon, Jul 04, 2016 at 01:58:43PM -0400, wkitt...@gmail.com wrote: > On 07/04/2016 11:29 AM, Ivan Kokshaysky wrote: > > To fix that we need to purge the netlink buffer on ENOBUF error. With the > > appended patch dnsmasq is running flawlessly for about a month. > > why are the messages not

Re: [Dnsmasq-discuss] [PATCH] fix for netlink ENOBUF problem

2016-07-04 Thread wkitty42
On 07/04/2016 11:29 AM, Ivan Kokshaysky wrote: To fix that we need to purge the netlink buffer on ENOBUF error. With the appended patch dnsmasq is running flawlessly for about a month. why are the messages not removed from the buffer when they are processed? or are they and there's simply too

[Dnsmasq-discuss] [PATCH] fix for netlink ENOBUF problem

2016-07-04 Thread Ivan Kokshaysky
Hi Simon and all, recently we fired up IPv6 in our network. There are several rather big linux routers for student dormitories, each one serves 2-3 thousand clients. We use vlan-per-user, so the number of interfaces on each machine is accordingly vast, and DHCP is quite problematic. We tried