Re: [RFC][PATCH 0/5] do not dereference NULL pools in pools' destroy() functions

From: Sergey Senozhatsky
Date: Wed Jun 10 2015 - 02:52:21 EST


On (06/10/15 08:44), Julia Lawall wrote:
> >
> > [..]
> >
> > err_percpu_counter_init:
> > kmem_cache_destroy(sctp_chunk_cachep);
> > err_chunk_cachep:
> > kmem_cache_destroy(sctp_bucket_cachep);
> >
> > [..]
> >
> > and others.
>
> This I find much less appealing. The labels make clear what is needed
>

hm, agree.

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