commit | 732d35fd08058a678327ec908528fcc9514c9e48 | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Thu Jul 05 14:19:56 2012 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Tue Jul 10 22:35:41 2012 +0200 |
tree | e56b55c83c7892461b9c6dc87d9ab9d124d91d7d | |
parent | 6eaf53ca7bdae4506dbe6f0daaa93656f092383e [diff] |
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 <tgraf@suug.ch> Tested-by: Oliver Hartkopp <socketcan@hartkopp.net> Acked-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>