]> 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)
commit4ae23b23506b8ace7b80a27806c25044dc5ec7a5
treedaaf06eece2745046fc44946aa24c12d65e1b571
parent4462e69c51f46e4ee5d4f5e1b8a545911d6413f0
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