summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/futex
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2021-08-05 13:02:45 +0200
committerDavid S. Miller <davem@davemloft.net>2021-08-05 14:31:24 +0200
commit23809a726c0d004b9d2474333181f8da07360469 (patch)
treec2bf92e3e279561d16cb3b3b97ecc43f868c84fe /tools/testing/selftests/futex
parentnet: dsa: tag_sja1105: optionally build as module when switch driver is modul... (diff)
downloadlinux-23809a726c0d004b9d2474333181f8da07360469.tar.xz
linux-23809a726c0d004b9d2474333181f8da07360469.zip
netdevsim: Forbid devlink reload when adding or deleting ports
In order to remove complexity in devlink core related to devlink_reload_enable/disable, let's rewrite new_port/del_port logic to rely on internal to netdevsim lcok. We should protect only reload_down flow because it destroys nsim_dev, which is needed for nsim_dev_port_add/nsim_dev_port_del to hold port_list_lock. Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/futex')
0 files changed, 0 insertions, 0 deletions