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>
Showing
- net/bridge/br_device.c 1 addition, 1 deletionnet/bridge/br_device.c
- net/bridge/br_input.c 1 addition, 1 deletionnet/bridge/br_input.c
- net/bridge/br_netlink.c 18 additions, 24 deletionsnet/bridge/br_netlink.c
- net/bridge/br_private.h 12 additions, 32 deletionsnet/bridge/br_private.h
- net/bridge/br_vlan.c 43 additions, 60 deletionsnet/bridge/br_vlan.c
Loading
Please register or sign in to comment