Re: [libvirt] [PATCH] network: increase max number of routes

2013-06-20 Thread Laine Stump
On 06/19/2013 05:16 AM, Michal Privoznik wrote: > On 18.06.2013 18:59, Laine Stump wrote: >> This fixes the problem reported in: >> >>https://bugzilla.redhat.com/show_bug.cgi?id=972690 >> >> >> src/network/bridge_driver.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --

Re: [libvirt] [PATCH] network: increase max number of routes

2013-06-19 Thread Michal Privoznik
On 18.06.2013 18:59, Laine Stump wrote: > This fixes the problem reported in: > >https://bugzilla.redhat.com/show_bug.cgi?id=972690 > > When checking for a collision of a new libvirt network's subnet with > any existing routes, we read all of /proc/net/route into memory, then > parse all the

[libvirt] [PATCH] network: increase max number of routes

2013-06-18 Thread Laine Stump
This fixes the problem reported in: https://bugzilla.redhat.com/show_bug.cgi?id=972690 When checking for a collision of a new libvirt network's subnet with any existing routes, we read all of /proc/net/route into memory, then parse all the entries. The function that we use to read this file re