[Devel] [PATCH VZ10 1/1] fixup! ve/net: thread owning ve through copy_net_ns
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Fri May 29 14:01:25 MSK 2026
Reviewed-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
On 5/29/26 12:01, Vasileios Almpanis wrote:
> Remove unused put_userns label to avoid compiler warnings such as:
>
> net/core/net_namespace.c:560:1: warning: label ‘put_userns’ defined but not used [-Wunused-label]
> 560 | put_userns:
>
> Signed-off-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
>
> Feature: ve: ve generic structures
> ---
> net/core/net_namespace.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
> index 3738e5274cd9..3783c1363ad7 100644
> --- a/net/core/net_namespace.c
> +++ b/net/core/net_namespace.c
> @@ -557,7 +557,6 @@ struct net *copy_net_ns(unsigned long flags,
> #ifdef CONFIG_VE
> put_ve(net->owner_ve);
> #endif
> -put_userns:
> #ifdef CONFIG_KEYS
> key_remove_domain(net->key_domain);
> #endif
--
Best regards, Pavel Tikhomirov
Senior Software Developer, Virtuozzo.
More information about the Devel
mailing list