diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-04-28 21:45:48 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-30 23:05:29 -0400 |
commit | 145746765f06a3dbc7869c81d0165b3ab96f935a (patch) | |
tree | 7dbd7d07d906df7f43044bbbaa92ec91627c2da0 /drivers/net/net_failover.c | |
parent | e3ee07d14fac20ce12e93a72048fa6fd51348826 (diff) |
net: dsa: Keep the vlan_filtering setting in dsa_switch if it's global
The current behavior is not as obvious as one would assume (which is
that, if the driver set vlan_filtering_is_global = 1, then checking any
dp->vlan_filtering would yield the same result). Only the ports which
are actively enslaved into a bridge would have vlan_filtering set.
This makes it tricky for drivers to check what the global state is.
So fix this and make the struct dsa_switch hold this global setting.
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/net_failover.c')
0 files changed, 0 insertions, 0 deletions