Files
android_kernel_xiaomi_sm8450/include/net
Catalin Marinas 7e56b5d698 net: Fix memory leak in the proto_register function
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-21 16:45:22 -08:00
..
2008-10-22 18:54:47 -05:00
2008-09-12 16:30:20 -07:00
2006-12-02 21:22:55 -08:00
2007-10-10 16:53:56 -07:00
2008-09-24 16:18:00 -04:00
2008-08-04 23:04:08 -07:00
2008-07-05 21:26:57 -07:00
2008-06-11 21:00:38 -07:00
2008-06-11 21:00:38 -07:00
2008-10-16 11:21:47 -07:00
2008-06-11 21:00:38 -07:00
2008-02-29 11:46:17 -08:00
2008-03-28 16:28:36 -07:00
2008-10-16 11:21:47 -07:00
2008-06-11 21:00:38 -07:00
2008-07-05 21:25:39 -07:00
2008-10-07 14:18:42 -07:00
2008-10-07 14:50:06 -07:00
2008-09-24 16:18:00 -04:00