]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
can: dev: fix nlmsg size calculation in can_get_size()
authorMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 5 Oct 2013 19:25:17 +0000 (21:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Oct 2013 19:55:03 +0000 (15:55 -0400)
commitfe119a05f8ca481623a8d02efcc984332e612528
treed2ea0b934d2baa3c8de453309197c568444f1ffb
parent0a7e22609067ff524fc7bbd45c6951dd08561667
can: dev: fix nlmsg size calculation in can_get_size()

This patch fixes the calculation of the nlmsg size, by adding the missing
nla_total_size().

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/dev.c