[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180215.153532.1034078541331191429.davem@davemloft.net>
Date: Thu, 15 Feb 2018 15:35:32 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ktkhai@...tuozzo.com
Cc: jasowang@...hat.com, edumazet@...gle.com, xiyou.wangcong@...il.com,
willemb@...gle.com, peterpenkov96@...il.com,
linyu.yuan@...atel-sbell.com.cn, kstewart@...uxfoundation.org,
aviadye@...lanox.com, gregkh@...uxfoundation.org,
davejwatson@...com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2 0/3] Add ioctl() SIOCGSKNS cmd to allow
obtaining net ns of tun device
From: Kirill Tkhai <ktkhai@...tuozzo.com>
Date: Wed, 14 Feb 2018 16:39:45 +0300
> Currently, it's not possible to get or check net namespace,
> which was used to create tun socket. User may have two tun
> devices with the same names in different nets, and there
> is no way to differ them each other.
>
> The patchset adds support for ioctl() cmd SIOCGSKNS for tun
> devices. It will allow people to obtain net namespace file
> descriptor like we allow to do that for sockets in general.
>
> v2: Add new patch [2/3] to export open_related_ns().
Series applied, thanks.
Powered by blists - more mailing lists