diff options
author | Vladimir Oltean <[email protected]> | 2020-09-21 03:10:29 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-09-20 19:01:34 -0700 |
commit | 2209158c9055dbc937673ec09c032505667d839e (patch) | |
tree | 03ffa987aef7a5ae56030561b53a5c3bb27c681a /net/unix/sysctl_net_unix.c | |
parent | adb256eb1769dec74b809690f418e8e46bee62a7 (diff) |
net: dsa: install VLANs into the master's RX filter too
Most DSA switch tags shift the EtherType to the right, causing the
master to not parse the VLAN as VLAN.
However, not all switches do that (example: tail tags, tag_8021q etc),
and if the DSA master has "rx-vlan-filter: on" in ethtool -k, then we
have a problem.
Therefore, we could populate the VLAN table of the master, just in case
(for some switches it will not make a difference), so that network I/O
can work even with a VLAN filtering master.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions