bridge: netlink: export port's root id
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 6 Oct 2015 12:11:55 +0000 (14:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 11:49:27 +0000 (04:49 -0700)
commit4ebc7660ab4559cad10b6595e05f70562bb26dc5
treed71e83da8746bc9a5a49a68e634ec2352d3e7ef3
parentdeaa0a6a930edc79081268bf23b196d0340499af
bridge: netlink: export port's root id

Add IFLA_BRPORT_ROOT_ID to allow getting the designated root id via
netlink.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_link.h
net/bridge/br_netlink.c