[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1d25df23-3ef6-40f0-a9f0-844da8e17f57@gmail.com>
Date: Thu, 26 Oct 2023 10:56:20 -0600
From: David Ahern <dsahern@...il.com>
To: Jiri Pirko <jiri@...nulli.us>, netdev@...r.kernel.org
Cc: stephen@...workplumber.org, daniel.machon@...rochip.com
Subject: Re: [patch iproute2-next v3 1/6] ip/ipnetns: move internals of
get_netnsid_from_name() into namespace.c
On 10/24/23 4:03 AM, Jiri Pirko wrote:
> diff --git a/include/namespace.h b/include/namespace.h
> index e47f9b5d49d1..e860a4b8ee5b 100644
> --- a/include/namespace.h
> +++ b/include/namespace.h
> @@ -8,6 +8,8 @@
> #include <sys/syscall.h>
> #include <errno.h>
>
> +#include "namespace.h"
??? including this file into itself?
> +
> #ifndef NETNS_RUN_DIR
> #define NETNS_RUN_DIR "/var/run/netns"
> #endif
> @@ -58,4 +60,6 @@ struct netns_func {
> void *arg;
> };
>
> +int netns_id_from_name(struct rtnl_handle *rtnl, const char *name);
> +
> #endif /* __NAMESPACE_H__ */
Powered by blists - more mailing lists