diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2021-03-10 10:46:10 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-10 15:48:53 -0800 |
commit | d45c36bafb94e72fdb6dee437279b61b6d97e706 (patch) | |
tree | 9138ce9a25e27728c3b0caac02492ec099d02af5 /drivers/net/dsa/bcm_sf2.c | |
parent | net: sched: validate stab values (diff) | |
download | linux-dev-d45c36bafb94e72fdb6dee437279b61b6d97e706.tar.xz linux-dev-d45c36bafb94e72fdb6dee437279b61b6d97e706.zip |
net: dsa: b53: VLAN filtering is global to all users
The bcm_sf2 driver uses the b53 driver as a library but does not make
usre of the b53_setup() function, this made it fail to inherit the
vlan_filtering_is_global attribute. Fix this by moving the assignment to
b53_switch_alloc() which is used by bcm_sf2.
Fixes: 7228b23e68f7 ("net: dsa: b53: Let DSA handle mismatched VLAN filtering settings")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.c')
0 files changed, 0 insertions, 0 deletions