net: bridge: export also pvid flag in the xstats flags
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Thu, 25 Aug 2016 12:27:51 +0000 (14:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2016 18:45:28 +0000 (11:45 -0700)
commit72f4af4e4706a07727765bc6b7bdace4b1543543
tree9da103351dca0ac48e06d2f1b2130e504356c0e1
parentc80fafbbb59ef9924962f83aac85531039395b18
net: bridge: export also pvid flag in the xstats flags

When I added support to export the vlan entry flags via xstats I forgot to
add support for the pvid since it is manually matched, so check if the
entry matches the vlan_group's pvid and set the flag appropriately.

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