]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite600de0d98cd05b8fcafc7585d24d17969a0e3a1
treedaaf06eece2745046fc44946aa24c12d65e1b571
parent639ce7c5925a4f85ee07f4ad5380263ae98ea885
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