summaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorAndrew Lunn2017-11-07 00:04:24 +0100
committerDavid S. Miller2017-11-10 06:28:13 +0100
commit2ea7a679ca2abd251c1ec03f20508619707e1749 (patch)
treed7f2e26bd8ac44cec8443de0beec7d6932da8e64 /include/net/sock.h
parentMerge tag 'mlx5-updates-2017-11-09' of git://git.kernel.org/pub/scm/linux/ker... (diff)
downloadkernel-qcow2-linux-2ea7a679ca2abd251c1ec03f20508619707e1749.tar.gz
kernel-qcow2-linux-2ea7a679ca2abd251c1ec03f20508619707e1749.tar.xz
kernel-qcow2-linux-2ea7a679ca2abd251c1ec03f20508619707e1749.zip
net: dsa: Don't add vlans when vlan filtering is disabled
The software bridge can be build with vlan filtering support included. However, by default it is turned off. In its turned off state, it still passes VLANs via switchev, even though they are not to be used. Don't pass these VLANs to the hardware. Only do so when vlan filtering is enabled. This fixes at least one corner case. There are still issues in other corners, such as when vlan_filtering is later enabled. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions