[PATCH net-next v2 0/2] Clean devlink net namespace operations
From: Leon Romanovsky <leon@kernel.org>
Date: 2021-07-29 17:19:34
Also in:
lkml
From: Leon Romanovsky <leonro@nvidia.com> Changelog: v2: * Patch 1: Dropped cmd argument v1: https://lore.kernel.org/lkml/cover.1627564383.git.leonro@nvidia.com (local) * Patch 1: * Renamed function name * Added bool parameter to the notifier function * Patch 2: * added Jiri's ROB and dropped word "RAW" from the comment" v0: https://lore.kernel.org/lkml/cover.1627545799.git.leonro@nvidia.com (local) ----------------------------------------------------------------------------- Hi Dave, Jakub and Jiri This short series continues my work on devlink core code to make devlink reload less prone to errors and harden it from API abuse. Despite first patch being a clear fix, I would ask you to apply it to net-next anyway, because the fixed patch is anyway old and it will help us to eliminate merge conflicts that will arise for following patches or even for the second one. Thanks Leon Romanovsky (2): devlink: Break parameter notification sequence to be before/after unload/load driver devlink: Allocate devlink directly in requested net namespace drivers/net/netdevsim/dev.c | 4 +-- include/net/devlink.h | 14 ++++++++-- net/core/devlink.c | 56 ++++++++++++++++++------------------- 3 files changed, 41 insertions(+), 33 deletions(-) -- 2.31.1