aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2020-09-21 03:10:28 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-20 19:01:34 -0700
commitadb256eb1769dec74b809690f418e8e46bee62a7 (patch)
treef362224553c614ba86a55df3f0ae349fc569390b /net/unix/af_unix.c
parentnet: dsa: refuse configuration in prepare phase of dsa_port_vlan_filtering() (diff)
downloadwireguard-linux-adb256eb1769dec74b809690f418e8e46bee62a7.tar.xz
wireguard-linux-adb256eb1769dec74b809690f418e8e46bee62a7.zip
net: dsa: allow 8021q uppers while the bridge has vlan_filtering=0
When the bridge has VLAN awareness disabled there isn't any duplication of functionality, since the bridge does not process VLAN. Don't deny adding 8021q uppers to DSA switch ports in that case. The switch is supposed to simply pass traffic leaving the VLAN tag as-is, and the stack will happily strip the VLAN tag for all 8021q uppers that exist. We need to ensure that there are no 8021q uppers when the user attempts to enable bridge vlan_filtering. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions