diff options
author | Thomas Graf <tgraf@suug.ch> | 2012-07-05 14:19:56 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-10 22:35:41 +0200 |
commit | 732d35fd08058a678327ec908528fcc9514c9e48 (patch) | |
tree | e56b55c83c7892461b9c6dc87d9ab9d124d91d7d /drivers/eisa | |
parent | can: gw: Don't bump nlmsg_len manually (diff) | |
download | linux-732d35fd08058a678327ec908528fcc9514c9e48.tar.xz linux-732d35fd08058a678327ec908528fcc9514c9e48.zip |
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>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions