FreeBSD Bugzilla – Bug 161668
Critical patch for net/quagga
Last modified: 2011-10-18 15:50:11 UTC
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
@@ -675,6 +675,7 @@ bgp_attr_unintern (struct attr **attr)
+ bgp_attr_extra_free (&tmp);
The above patch can be added into the files directory of the port and I added
to the port's Makefile
How-To-Repeat: startup quagga with bgp and a full table. Watch memory usage grow.
Maintainer of net/quagga,
Please note that PR ports/161668 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
I'll take it.
Agreed, but full patch attached.
zi 2011-10-18 14:43:45 UTC
FreeBSD ports repository
- Resolve memory leak in bgpd
- Bump PORTREVISION
Submitted by: Mike Tancsa <firstname.lastname@example.org>
Approved by: Boris Kovalenko <email@example.com> (maintainer)
Obtained from: quagga-users mailing list
Revision Changes Path
1.114 +1 -0 ports/net/quagga/Makefile
1.1 +10 -0 ports/net/quagga/files/patch-bgpd__bgp_attr.c (new)
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"