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

From: Masahide NAKAMURA
Date: Sun Oct 14 2007 - 23:04:34 EST



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>

--
Masahide NAKAMURA

-
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/