aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/security
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 /security
parentnet: dsa: tag_sja1105: optionally build as module when switch driver is module if PTP is enabled (diff)
downloadwireguard-linux-23809a726c0d004b9d2474333181f8da07360469.tar.xz
wireguard-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 'security')
0 files changed, 0 insertions, 0 deletions