diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-02-27 21:59:05 +0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-02-27 21:59:11 +0400 |
commit | a0008bf73c12212769b0d0b19cdec5c432de94ba (patch) | |
tree | e53c67efd4aad97ab9f2addc1fc0d62879b41c55 /drivers/net/veth.c | |
parent | 5a8c271b26b83a09924c99aaa5c607021aed142b (diff) | |
parent | cfac337b0fbcad5181096ab72bb24a05bd444562 (diff) | |
download | linux-a0008bf73c12212769b0d0b19cdec5c432de94ba.tar.xz |
Merge branch 'lpc32xx/fixes-non-critical' of git://git.antcom.de/linux-2.6 into next/fixes-non-critical
* 'lpc32xx/fixes-non-critical' of git://git.antcom.de/linux-2.6: (1 commit)
ARM: LPC32xx: Fix missing and bad LPC32XX macros
Update to Linux 3.3-rc5
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/net/veth.c')
-rw-r--r-- | drivers/net/veth.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/veth.c b/drivers/net/veth.c index 49f4667e1fa3..4a3402898f2a 100644 --- a/drivers/net/veth.c +++ b/drivers/net/veth.c @@ -422,7 +422,9 @@ static void veth_dellink(struct net_device *dev, struct list_head *head) unregister_netdevice_queue(peer, head); } -static const struct nla_policy veth_policy[VETH_INFO_MAX + 1]; +static const struct nla_policy veth_policy[VETH_INFO_MAX + 1] = { + [VETH_INFO_PEER] = { .len = sizeof(struct ifinfomsg) }, +}; static struct rtnl_link_ops veth_link_ops = { .kind = DRV_NAME, |