summaryrefslogtreecommitdiff
path: root/net/dsa/port.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-06-27 14:54:28 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-29 00:09:03 +0300
commit4ede74e73b5b540b2a20bb6d5ad4d69348ba51fc (patch)
tree112c5a414667488551819ec997affe82dafed038 /net/dsa/port.c
parent7e8c18586daf7c1653c4b43a8119bc9662ed8fa6 (diff)
downloadlinux-4ede74e73b5b540b2a20bb6d5ad4d69348ba51fc.tar.xz
net: dsa: refactor the prechangeupper sanity checks into a dedicated function
We need to add more logic to the DSA NETDEV_PRECHANGEUPPER event handler, more exactly we need to request an unsync of switchdev objects. In order to fit more code, refactor the existing logic into a helper. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/port.c')
0 files changed, 0 insertions, 0 deletions