net: bridge: export vlan flags with the stats
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Wed, 17 Aug 2016 10:53:10 +0000 (12:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2016 06:18:42 +0000 (23:18 -0700)
commit61ba1a2da9693b88bf5f2bb8e7a99a29cd139122
tree72e93abc50fa837e1e73b0a4601c84ef5ebe10a8
parentd5ff8c41b5f7289aee44df817023328295bc8463
net: bridge: export vlan flags with the stats

Use one of the vlan xstats padding fields to export the vlan flags. This is
needed in order to be able to distinguish between master (bridge) and port
vlan entries in user-space when dumping the bridge vlan stats.

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