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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Oct 2013 20:32:41 +0000 (16:32 -0400)
commitc33a39c575068c2ea9bffb22fd6de2df19c74b89
treedabba848fe22d4c3a4254aedb17a31a04e303cbe
parentede869cd0f45488195d56267d0c09ed511611d66
net: vlan: fix nlmsg size calculation in vlan_get_size()

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>
net/8021q/vlan_netlink.c