]> git.ipfire.org Git - people/ms/linux.git/commit
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:23:40 +0000 (04:23 -0800)
commit5468ba5515e2720cfe19d0c35d481cb4cb97a8aa
tree8d9dc86bae8bc73bdcabef341ab624a6e1eba278
parent0a8a2e325e1badbf4dd5243b9368838b0e9ad0e4
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