Re: [RFC net-next 02/10] devlink: update the code in netns move to latest helpers

Jiri Pirko
2023-01-02T13:45:15Z

Sat, Dec 17, 2022 at 02:19:45AM CET, kuba@kernel.org wrote:
>devlink_pernet_pre_exit() is the only obvious place which takes
>the instance lock without using the devl_ helpers. Update the code
>and move the error print after releasing the reference
>(having unlock and put together feels slightly idiomatic).

To be prudent, this should be 2 patches as it changes 2 separate things.
Anyway,

Reviewed-by: Jiri Pirko <jiri@nvidia.com>