diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-03-18 12:23:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-21 14:11:38 +0000 |
commit | aff3a925094633a5b77058b9a715efbb12fc2698 (patch) | |
tree | 8b1f08cd68db53091d331c25bbe01a7a417d70c6 /drivers/net/dsa | |
parent | 76eea6c2e663f7e9fbc258c82811ad9e657e085f (diff) |
netdevsim: replace vfs_lock with devlink instance lock
Similarly to the previous commit, use the devlink instance
lock and let it replace the vfs_lock.
nsim_esw_legacy_enable() was locked by both port lock and
vfs lock so one set of lock/unlocks goes away.
netdevsim's .eswitch_mode_set callback is now ready for
the callback to take the instance lock.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions