diff options
author | David S. Miller <davem@davemloft.net> | 2014-10-05 21:21:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-05 21:21:44 -0400 |
commit | ad9eef52085c5c6047e44705806a1b5b14b7f476 (patch) | |
tree | 6aa782488f47684f803657acca74aa42b1303e59 /net/ipv6 | |
parent | e885439f37b0dce404291350f7c0368c2bb97cdb (diff) | |
parent | 5be5a2df40f005ea7fb7e280e87bbbcfcf1c2fc0 (diff) | |
download | op-kernel-dev-ad9eef52085c5c6047e44705806a1b5b14b7f476.zip op-kernel-dev-ad9eef52085c5c6047e44705806a1b5b14b7f476.tar.gz |
Merge branch 'bridge_default_pvid'
Vladislav Yasevich says:
====================
bridge: Add vlan filtering support for default pvid
This series adds default pvid support to vlan filtering in the bridge.
VLAN 1 (as recommended by 802.1q spec) is used as default pvid on ports.
Then the user can over-ride this configuration by configuring their
own vlan information.
The user can additionally change the default value through the
sysfs interface (netlink coming shortly).
The user can turn off default pvid functionality by setting default
pvid to 0.
This series changes the default behavior of the bridge when
vlan filtering is turned on. Currently, ports without any vlan
filtering configured will not recevie any traffic at all. This patch
changes the behavior of the above ports to receive only untagged traffic.
Since v3:
- allocated 'changed' bitmap on the heap and re-arrange code to clean it up.
- remove extra blank lines.
- Fix patch1 to build by itself.
- Fix error recover to not add vlan 0.
- Restructure nbp_vlan_init to remove uneeded variable.
Since v2:
- Fix handling of invalid values in sysfs interface.
- Add some additional log messages.
- Fix default_pvid handling when vlan filtering is compiled out.
- Fix sparse issues with new code.
- Fix how we located the old default pvid (added a helper function).
Since v1:
- Add ability to turn off default_pvid settings.
- Drop the automiatic filtering support based on configured vlan devices (will
be its own series)
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions