From: Eric Paris Date: Fri, 6 Nov 2009 06:18:14 +0000 (-0800) Subject: net: pass kern to net_proto_family create function X-Git-Tag: v2.6.33-rc1~388^2~498 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f378b684453f2a028eda463ce383370545d9cc9;p=pandora-kernel.git net: pass kern to net_proto_family create function The generic __sock_create function has a kern argument which allows the security system to make decisions based on if a socket is being created by the kernel or by userspace. This patch passes that flag to the net_proto_family specific create function, so it can do the same thing. Signed-off-by: Eric Paris Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- Reading git-diff-tree failed