veth: Showing peer of veth type dev in ip link (kernel side)
authorMasatake YAMATO <yamato@redhat.com>
Fri, 4 Oct 2013 02:34:21 +0000 (11:34 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Oct 2013 19:23:25 +0000 (15:23 -0400)
commit612c337306f00dc8d396830212de51c475844791
treedaaf06eece2745046fc44946aa24c12d65e1b571
parent33bc801dddc14f0f96b79e453ec51cecfe5ed612
veth: Showing peer of veth type dev in ip link (kernel side)

ip link has ability to show extra information of net work device if
kernel provides sunh information. With this patch veth driver can
provide its peer ifindex information to ip command via netlink
interface.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c