aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJonas Gorski <[email protected]>2025-04-29 20:17:07 +0000
committerJakub Kicinski <[email protected]>2025-05-08 02:30:35 +0000
commitf089652b6b16452535dcc5cbaa6e2bb05acd3f93 (patch)
treee299fe0faa5c9f6d2478136b109ca441ff49d07a /net/unix/af_unix.c
parentnet: dsa: b53: do not allow to configure VLAN 0 (diff)
downloadkernel-f089652b6b16452535dcc5cbaa6e2bb05acd3f93.tar.gz
kernel-f089652b6b16452535dcc5cbaa6e2bb05acd3f93.zip
net: dsa: b53: do not program vlans when vlan filtering is off
Documentation/networking/switchdev.rst says: - with VLAN filtering turned off: the bridge is strictly VLAN unaware and its data path will process all Ethernet frames as if they are VLAN-untagged. The bridge VLAN database can still be modified, but the modifications should have no effect while VLAN filtering is turned off. This breaks if we immediately apply the VLAN configuration, so skip writing it when vlan_filtering is off. Fixes: 0ee2af4ebbe3 ("net: dsa: set configure_vlan_while_not_filtering to true by default") Signed-off-by: Jonas Gorski <[email protected]> Tested-by: Florian Fainelli <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions