From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] drivers/atm/atmtcp.c: add missing atm_dev_put Date: Fri, 31 Dec 2010 12:52:23 -0800 (PST) Message-ID: <20101231.125223.212690412.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: chas@cmf.nrl.navy.mil, linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org To: julia@diku.dk Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Julia Lawall Date: Wed, 29 Dec 2010 15:01:03 +0100 (CET) > From: Julia Lawall > > The earlier call to atm_dev_lookup increases the reference count of dev, > so decrease it on the way out. > > The semantic match that finds this problem is as follows: > (http://coccinelle.lip6.fr/) ... > Signed-off-by: Julia Lawall Applied, thank you.