diff options
author | David S. Miller <davem@davemloft.net> | 2019-08-31 13:21:19 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-31 13:21:19 -0700 |
commit | b0274eb0d76e5912398b3a23eaabc56c91d2d78f (patch) | |
tree | 355b1999a2c0778b6c20bea2bdf7d82c2fd84685 /drivers/net/ethernet/qlogic | |
parent | Merge tag 'batadv-next-for-davem-20190830' of git://git.open-mesh.org/linux-merge (diff) | |
parent | net: dsa: tag_8021q: Restore bridge VLANs when enabling vlan_filtering (diff) | |
download | linux-dev-b0274eb0d76e5912398b3a23eaabc56c91d2d78f.tar.xz linux-dev-b0274eb0d76e5912398b3a23eaabc56c91d2d78f.zip |
Merge branch 'Dynamic-toggling-of-vlan_filtering-for-SJA1105-DSA'
Vladimir Oltean says:
====================
Dynamic toggling of vlan_filtering for SJA1105 DSA
This patchset addresses a limitation in dsa_8021q where this sequence of
commands was causing the switch to stop forwarding traffic:
ip link add name br0 type bridge vlan_filtering 0
ip link set dev swp2 master br0
echo 1 > /sys/class/net/br0/bridge/vlan_filtering
echo 0 > /sys/class/net/br0/bridge/vlan_filtering
The issue has to do with the VLAN table manipulations that dsa_8021q
does without notifying the bridge layer. The solution is to always
restore the VLANs that the bridge knows about, when disabling tagging.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic')
0 files changed, 0 insertions, 0 deletions