summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2012-07-05 14:19:56 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-07-10 22:35:41 +0200
commit732d35fd08058a678327ec908528fcc9514c9e48 (patch)
treee56b55c83c7892461b9c6dc87d9ab9d124d91d7d /samples
parentcan: gw: Don't bump nlmsg_len manually (diff)
downloadlinux-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 'samples')
0 files changed, 0 insertions, 0 deletions