]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a11d942fc68285bddb2f5c6b127f7a0d1e3342d
tree9da103351dca0ac48e06d2f1b2130e504356c0e1
parent90fd833fecf405a1a3df1aa40874c10cec5f3486
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