From: Denis V. Lunev Date: Fri, 29 Feb 2008 19:17:11 +0000 (-0800) Subject: [ICMP]: Allocate data for __icmp(v6)_sk dynamically. X-Git-Tag: v2.6.26-rc1~1138^2~545 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79c911595390c8fdc8d8a487ac1951d854b1cd09;p=pandora-kernel.git [ICMP]: Allocate data for __icmp(v6)_sk dynamically. Own __icmp(v6)_sk should be present in each namespace. So, it should be allocated dynamically. Though, alloc_percpu does not fit the case as it implies additional dereferrence for no bonus. Allocate data for pointers just like __percpu_alloc_mask does and place pointers to struct sock into this array. Signed-off-by: Denis V. Lunev Acked-by: Daniel Lezcano Signed-off-by: David S. Miller --- Reading git-diff-tree failed