lkml.org 
[lkml]   [2008]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Fix memory leak in the proto_register function
From
From: Arnaldo Carvalho de Melo <acme@redhat.com>
Date: Fri, 21 Nov 2008 12:08:08 -0200

> Please send networking patches to netdev@vger.kernel.org as well.
...
> If the slub allocator is used, kmem_cache_create() may merge two or more
> kmem_cache's into one but the cache name pointer is not updated and
> kmem_cache_name() is no longer guaranteed to return the pointer passed
> to the former function. This patch stores the kmalloc'ed pointers in the
> corresponding request_sock_ops and timewait_sock_ops structures.
>
> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
>

Applied, thanks everyone.


\
 
 \ /
  Last update: 2008-11-22 01:47    [W:0.045 / U:1.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site