summary refs log tree commit diff
path: root/ipc/ipc_sysctl.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-28 14:09:03 -0700
commit4ede74e73b5b540b2a20bb6d5ad4d69348ba51fc (patch)
tree112c5a414667488551819ec997affe82dafed038 /ipc/ipc_sysctl.c
parent7e8c18586daf7c1653c4b43a8119bc9662ed8fa6 (diff)
downloadlinux-4ede74e73b5b540b2a20bb6d5ad4d69348ba51fc.tar.gz
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 'ipc/ipc_sysctl.c')
0 files changed, 0 insertions, 0 deletions