summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/pd.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-02-13 12:58:36 +0100
committerPaolo Abeni <pabeni@redhat.com>2023-02-14 14:04:21 +0100
commit2edd92570441dd33246210042dc167319a5cf7e3 (patch)
treee89ee574eda45fdd8f41927794945b0127a4fcec /drivers/net/ethernet/mellanox/mlx5/core/pd.c
parentdca5161f9bd052e9e73be90716ffd57e8762c697 (diff)
downloadlinux-stable-2edd92570441dd33246210042dc167319a5cf7e3.tar.gz
linux-stable-2edd92570441dd33246210042dc167319a5cf7e3.tar.bz2
linux-stable-2edd92570441dd33246210042dc167319a5cf7e3.zip
devlink: don't allow to change net namespace for FW_ACTIVATE reload action
The change on network namespace only makes sense during re-init reload action. For FW activation it is not applicable. So check if user passed an ATTR indicating network namespace change request and forbid it. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20230213115836.3404039-1-jiri@resnulli.us Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/pd.c')
0 files changed, 0 insertions, 0 deletions