Re: Common [15/16] Shrink __kmem_cache_create() parameter lists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2 Aug 2012, Christoph Lameter wrote:

> On Thu, 2 Aug 2012, Glauber Costa wrote:
>
> > > -		kfree(n);
> > > +		kfree(s->name);
> >
> > This last statement is a NULL pointer dereference.
>
> Yes. The statement should have been removed at the earlier patch where we
> move the allocation of the kmem_cache struct. sigh.

Arg. No the rearrangement is in this patch after all. So we can just drop
the statement.
xy

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]