diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-06-27 14:54:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-29 00:09:03 +0300 |
commit | 4ede74e73b5b540b2a20bb6d5ad4d69348ba51fc (patch) | |
tree | 112c5a414667488551819ec997affe82dafed038 /net/dsa/port.c | |
parent | 7e8c18586daf7c1653c4b43a8119bc9662ed8fa6 (diff) | |
download | linux-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