From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 14 21:00:18 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6117F1065678 for ; Fri, 14 Oct 2011 21:00:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D972D8FC17 for ; Fri, 14 Oct 2011 21:00:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9EL0Fcr087767 for ; Fri, 14 Oct 2011 21:00:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9EL0FXi087766; Fri, 14 Oct 2011 21:00:15 GMT (envelope-from gnats) Resent-Date: Fri, 14 Oct 2011 21:00:15 GMT Resent-Message-Id: <201110142100.p9EL0FXi087766@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mike Tancsa Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 328E8106564A for ; Fri, 14 Oct 2011 20:56:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 228E08FC17 for ; Fri, 14 Oct 2011 20:56:37 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9EKuahg012671 for ; Fri, 14 Oct 2011 20:56:36 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p9EKuarv012670; Fri, 14 Oct 2011 20:56:36 GMT (envelope-from nobody) Message-Id: <201110142056.p9EKuarv012670@red.freebsd.org> Date: Fri, 14 Oct 2011 20:56:36 GMT From: Mike Tancsa To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/161668: Critical patch for Quagga X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2011 21:00:18 -0000 >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: