Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757518AbYKVApp (ORCPT ); Fri, 21 Nov 2008 19:45:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754565AbYKVApf (ORCPT ); Fri, 21 Nov 2008 19:45:35 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:36950 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753669AbYKVApe (ORCPT ); Fri, 21 Nov 2008 19:45:34 -0500 Date: Fri, 21 Nov 2008 16:45:33 -0800 (PST) Message-Id: <20081121.164533.133749247.davem@davemloft.net> To: acme@redhat.com Cc: catalin.marinas@arm.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Fix memory leak in the proto_register function From: David Miller In-Reply-To: <20081121140808.GA20958@ghostprotocols.net> References: <20081121125628.11468.72009.stgit@pc1117.cambridge.arm.com> <20081121140808.GA20958@ghostprotocols.net> X-Mailer: Mew version 6.1 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 972 Lines: 22 From: Arnaldo Carvalho de Melo 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 > Acked-by: Arnaldo Carvalho de Melo > Reviewed-by: Christoph Lameter > Applied, thanks everyone. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/