net: vlan: fix nlmsg size calculation in vlan_get_size()
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 7 Oct 2013 21:19:58 +0000 (23:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Nov 2013 12:31:02 +0000 (04:31 -0800)
commit4c1f32d2d776b7d87962e902d62f8b6b2b2e1025
tree76d0b7a41ac1ea3d2bb218c97346dcf907ace35d
parentf495ddc46f97dd0054ff2d5d3c7493d59f7511fb
net: vlan: fix nlmsg size calculation in vlan_get_size()

[ Upstream commit c33a39c575068c2ea9bffb22fd6de2df19c74b89 ]

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

Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/8021q/vlan_netlink.c