diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-08-05 14:02:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-05 15:31:24 +0300 |
commit | 23809a726c0d004b9d2474333181f8da07360469 (patch) | |
tree | c2bf92e3e279561d16cb3b3b97ecc43f868c84fe /drivers/net/ethernet/renesas/ravb_main.c | |
parent | f8b17a0bd96065e4511858689916bb729dbb881b (diff) | |
download | linux-23809a726c0d004b9d2474333181f8da07360469.tar.xz |
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/ethernet/renesas/ravb_main.c')
0 files changed, 0 insertions, 0 deletions