diff --git a/[refs] b/[refs] index d7c023a316db..8c47ee3b2a1b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 78a5249fc9dc0f8c70221751dc79b6d918e5ee9a +refs/heads/master: 237114384ab22c174ec4641e809f8e6cbcfce774 diff --git a/trunk/drivers/net/veth.c b/trunk/drivers/net/veth.c index 49f4667e1fa3..4a3402898f2a 100644 --- a/trunk/drivers/net/veth.c +++ b/trunk/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,