]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: vlan: move pvid inside net_bridge_vlan_group
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Wed, 30 Sep 2015 18:16:53 +0000 (20:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2015 01:24:04 +0000 (18:24 -0700)
commitab4da209907327512d8540f0f6fc2fad4a3e1931
tree65776b5154f1e6222c0fea5436cf123a5132be8b
parent5e0572870fcb05b1be3897c67fe718baa18beeb6
bridge: vlan: move pvid inside net_bridge_vlan_group

One obvious way to converge more code (which was also used by the
previous vlan code) is to move pvid inside net_bridge_vlan_group. This
allows us to simplify some and remove other port-specific functions.
Also gives us the ability to simply pass the vlan group and use all of the
contained information.

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