[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZTtz4lq7NzvVC0Nt@nanopsycho>
Date: Fri, 27 Oct 2023 10:25:06 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: David Ahern <dsahern@...il.com>
Cc: netdev@...r.kernel.org, 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
Thu, Oct 26, 2023 at 06:56:20PM CEST, dsahern@...il.com wrote:
>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?
Interesting. Must have been done during code move. Will fix.
>
>> +
>> #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