diff options
| author | Jonas Gorski <[email protected]> | 2025-04-29 20:17:09 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-08 02:30:35 +0000 |
| commit | 9f34ad89bcf0e6df6f8b01f1bdab211493fc66d1 (patch) | |
| tree | 2b2fa293875faeab45ce066f3b13ace15d6d02f8 /net/unix/af_unix.c | |
| parent | net: dsa: b53: fix toggling vlan_filtering (diff) | |
| download | kernel-9f34ad89bcf0e6df6f8b01f1bdab211493fc66d1.tar.gz kernel-9f34ad89bcf0e6df6f8b01f1bdab211493fc66d1.zip | |
net: dsa: b53: fix learning on VLAN unaware bridges
When VLAN filtering is off, we configure the switch to forward, but not
learn on VLAN table misses. This effectively disables learning while not
filtering.
Fix this by switching to forward and learn. Setting the learning disable
register will still control whether learning actually happens.
Fixes: dad8d7c6452b ("net: dsa: b53: Properly account for VLAN filtering")
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
