diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-04-15 18:46:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-20 12:34:34 +0300 |
commit | 8e9e678e4758b69b6231d3ad4d26d3381fdb5f3f (patch) | |
tree | 86e330aa6445b23b78197c6e0132f6ae70d2d4ed /net/dsa/dsa_priv.h | |
parent | cc4bdef26ecd56de16a04bc6d99aa10ff9076498 (diff) | |
download | linux-8e9e678e4758b69b6231d3ad4d26d3381fdb5f3f.tar.xz |
net: dsa: move reset of VLAN filtering to dsa_port_switchdev_unsync_attrs
In dsa_port_switchdev_unsync_attrs() there is a comment that resetting
the VLAN filtering isn't done where it is expected. And since commit
108dc8741c20 ("net: dsa: Avoid cross-chip syncing of VLAN filtering"),
there is no reason to handle this in switch.c either.
Therefore, move the logic to port.c, and adapt it slightly to the data
structures and naming conventions from there.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa_priv.h')
0 files changed, 0 insertions, 0 deletions