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 --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
> index d5886fe..f7c2470 100644
> --- a/src/network/bridge_driver.c
> +++ b/src/network/bridge_driver.c
> @@ -2305,7 +2305,8 @@ networkCheckRouteCollision(virNetworkObjPtr network)
> {
> int ret = 0, len;
> char *cur, *buf = NULL;
> - enum {MAX_ROUTE_SIZE = 1024*64};
> + /* allow for up to 100000 routes (each line is 128 bytes) */
> + enum {MAX_ROUTE_SIZE = 128*100000};
>
> /* Read whole routing table into memory */
> if ((len = virFileReadAll(PROC_NET_ROUTE, MAX_ROUTE_SIZE, &buf)) < 0)
>
ACK