ports/161668: Critical patch for Quagga
Mike Tancsa
mike at sentex.net
Fri Oct 14 21:00:18 UTC 2011
>Number: 161668
>Category: ports
>Synopsis: Critical patch for Quagga
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 14 21:00:15 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Mike Tancsa
>Release: RELENG_8
>Organization:
Sentex Communications
>Environment:
8.2-STABLE FreeBSD 8.2-STABLE #2: Fri Oct 14 07:30:09 EDT 2011
>Description:
There is a needed patch for quagga, specifically bgpd that prevents it from leaking memory. On a busy router, it leaks about 1MB every 10min. Description of the problem and patch are found
http://lists.quagga.net/pipermail/quagga-users/2011-October/012529.html
>How-To-Repeat:
startup quagga with bgp and a full table. Watch memory usage grow.
>Fix:
--- bgpd/bgp_attr.c
+++ bgpd/bgp_attr.c
@@ -675,6 +675,7 @@ bgp_attr_unintern (struct attr **attr)
}
bgp_attr_unintern_sub (&tmp);
+ bgp_attr_extra_free (&tmp);
}
void
--
The above patch can be added into the files directory of the port and I added
PORTREVISION= 1
to the port's Makefile
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list