Re: [RFC: 2.6.25 patch] ipv4/fib_hash.c: fix NULL dereference

From: David Miller
Date: Tue Feb 19 2008 - 19:28:51 EST


From: Eric Dumazet <dada1@xxxxxxxxxxxxx>
Date: Wed, 20 Feb 2008 00:06:14 +0100

> Adrian Bunk a écrit :
> > Unless I miss a guaranteed relation between between "f" and
> > "new_fa->fa_info" this patch is required for fixing a NULL dereference
> > introduced by commit a6501e080c318f8d4467679d17807f42b3a33cd5 and
> > spotted by the Coverity checker.
> >
> > Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
...
> Hum, you are right, kmem_cache_free() doesnt allow a NULL object, like kfree()
> does.

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/