From: David Miller Subject: Re: [PATCH] [RESEND] small possible memory leak in FIB rules Date: Sat, 10 Nov 2007 22:12:17 -0800 (PST) Message-ID: <20071110.221217.39233934.davem@davemloft.net> References: <20071107133636.GA10719@iris.sw.ru> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20071107133636.GA10719@iris.sw.ru> Sender: netdev-owner@vger.kernel.org To: den@openvz.org Cc: devel@openvz.org, containers@lists.osdl.org, netdev@vger.kernel.org List-Id: containers.vger.kernel.org From: "Denis V. Lunev" Date: Wed, 7 Nov 2007 16:36:36 +0300 > This patch fixes a small memory leak. Default fib rules can be deleted by > the user if the rule does not carry FIB_RULE_PERMANENT flag, f.e. by > ip rule flush > > Such a rule will not be freed as the ref-counter has 2 on start and becomes > clearly unreachable after removal. > > Signed-off-by: Denis V. Lunev > Acked-by: Alexey Kuznetsov Applied, thanks Denis.