veth: set iflink to the peer veth
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 2 Apr 2015 15:07:11 +0000 (17:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2015 18:05:01 +0000 (14:05 -0400)
commita45253bf32bf49cdb2807bad212b84f5ab51ac26
treeae8db8c41d5950644db9d4f5e609f228df958e57
parente1622baf54df8cc958bf29d71de5ad545ea7d93c
veth: set iflink to the peer veth

Now that the peer netns is advertised in rtnl messages, we can set this property
so that IFLA_LINK will advertise the peer ifindex. It allows the userland to get
the full veth configuration.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c