Re: [2.6 patch] __inet6_csk_dst_store(): fix check-after-use

From: David Miller
Date: Mon Oct 15 2007 - 04:38:27 EST


From: Noriaki TAKAMIYA <takamiya@xxxxxxxxxxxxx>
Date: Mon, 15 Oct 2007 12:37:49 +0900 (JST)

> >
> > On Sun, 14 Oct 2007 19:52:12 +0200
> > Adrian Bunk <bunk@xxxxxxxxxx> wrote:
> >
> > > The Coverity checker spotted that we have already oops'ed if "dst"
> > > was NULL.
> > >
> > > Since "dst" being NULL doesn't seem to be possible at this point this
> > > patch removes the NULL check.
> > >
> > > Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
> >
> > Agreed.
> >
> > Acked-by: Masahide NAKAMURA <nakam@xxxxxxxxxxxxxx>
>
> I also agreed.
>
> Acked-by: Noriaki TAKAMIYA <takamiya@xxxxxxxxxxxxx>

Patch applied, thanks everyone!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/