summaryrefslogtreecommitdiff
path: root/drivers/net/LICENSE.SRC
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2021-08-05 14:02:45 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-05 13:31:24 +0100
commit23809a726c0d004b9d2474333181f8da07360469 (patch)
treec2bf92e3e279561d16cb3b3b97ecc43f868c84fe /drivers/net/LICENSE.SRC
parentf8b17a0bd96065e4511858689916bb729dbb881b (diff)
downloadlwn-23809a726c0d004b9d2474333181f8da07360469.tar.gz
lwn-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 'drivers/net/LICENSE.SRC')
0 files changed, 0 insertions, 0 deletions