Subject: Re: [PATCH] ax25: Fix ax25_cb refcounting in ax25_ctl_ioctl

From: Jarek Poplawski <[email-masked]>
Date: Fri, 25 Sep 2009 20:35:04 +0200

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 <[email-masked]>
> > Signed-off-by: Jarek Poplawski <[email-masked]>
> 
> Reviewed-by: Ralf Baechle <[email-masked]>
> 
Thanks for reviewing,
Jarek P.