bridge: netlink: export root id
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Sun, 4 Oct 2015 12:23:29 +0000 (14:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Oct 2015 23:45:54 +0000 (16:45 -0700)
commit5127c81f84de0dd643d5840a2c7de571bc6aceb3
treeb2da50afb18f895b75930addeadf8efb639361ab
parent7910228b6bb35f3c8e0bc72a8d84c29616cb1b90
bridge: netlink: export root id

Add IFLA_BR_ROOT_ID and export br->designated_root via netlink. For this
purpose add struct ifla_bridge_id that would represent struct bridge_id.

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