From: Thomas Graf Date: Thu, 5 Jul 2012 12:19:56 +0000 (+0200) Subject: can: gw: Use nla_policy to validate netlink attributes X-Git-Tag: v3.6-rc1~125^2~185^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=732d35fd08058a678327ec908528fcc9514c9e48;p=pandora-kernel.git can: gw: Use nla_policy to validate netlink attributes Also use nla_get_u32() instead of nla_memcpy() to access u32 attribtues. Signed-off-by: Thomas Graf Tested-by: Oliver Hartkopp Acked-by: Oliver Hartkopp Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed