From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarek Poplawski Subject: Re: [PATCH] ax25: Fix ax25_cb refcounting in ax25_ctl_ioctl Date: Fri, 25 Sep 2009 20:35:04 +0200 Message-ID: <20090925183504.GA3307@del.dom.local> References: <20090921201157.GA5460@del.dom.local> <4ABA9058.3010605@free.fr> <20090925131038.GA14778@ff.dom.local> <20090925134052.GA1661@linux-mips.org> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=3FF2rFPS+/PP/UAIg4JRQybqzF0xdjbF1vl4/6DKVL4=; b=aWU46T1vB8GIqLTK69OhpV+9f1gKkGymqlbwyAmPSb1KNCxpuxSPMS6I0axJZJAziw CA/xKrGVFmPidxYSV15uITSyKcDhDikLFalJCoi03IX0Ds+t0qGaoQK89++LVbMcMixh E71Qebk3SuF2LKAtwz2zKFjynKam7atADc9oY= Content-Disposition: inline In-Reply-To: <20090925134052.GA1661@linux-mips.org> Sender: linux-hams-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Ralf Baechle DL5RB Cc: David Miller , Bernard Pidoux F6BVP , Bernard Pidoux , Linux Netdev List , linux-hams On Fri, Sep 25, 2009 at 02:40:52PM +0100, Ralf Baechle DL5RB wrote: > On Fri, Sep 25, 2009 at 01:10:38PM +0000, Jarek Poplawski wrote: > > > This bug isn't responsible for these oopses here, but looks quite > > obviously. (I'm not sure if it's easy to test/hit with the common > > tools.) > > The issue your patch fixes is obvious enough. Yes, with new code there would be no doubt. But here, if you know it's worked for some time, you wonder if you're not blind. |-) > > > Jarek P. > > ------------> > > [PATCH] ax25: Fix ax25_cb refcounting in ax25_ctl_ioctl > > > > Use ax25_cb_put after ax25_find_cb in ax25_ctl_ioctl. > > > > Reported-by: Bernard Pidoux F6BVP > > Signed-off-by: Jarek Poplawski > > Reviewed-by: Ralf Baechle > Thanks for reviewing, Jarek P.