Re: [PATCH net-next 2/2] tun: Add ioctl() SIOCGSKNS cmd to allow obtaining net ns of tun device

2018-02-14 Thread Kirill Tkhai
On 14.02.2018 15:27, kbuild test robot wrote: > Hi Kirill, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on net-next/master] > > url: > https://github.com/0day-ci/linux/commits/Kirill-Tkhai/net-Make-extern-and-export-get_net_ns/20180214-183342 > config:

Re: [PATCH net-next 2/2] tun: Add ioctl() SIOCGSKNS cmd to allow obtaining net ns of tun device

2018-02-14 Thread kbuild test robot
Hi Kirill, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Kirill-Tkhai/net-Make-extern-and-export-get_net_ns/20180214-183342 config: x86_64-lkp (attached as .config) compiler: gcc-7 (Debian 7.3.0-1)

[PATCH net-next 2/2] tun: Add ioctl() SIOCGSKNS cmd to allow obtaining net ns of tun device

2018-02-13 Thread Kirill Tkhai
This patch adds possibility to get tun device's net namespace fd in the same way we allow to do that for sockets. Socket ioctl numbers do not intersect with tun-specific, and there is already SIOCSIFHWADDR used in tun code. So, SIOCGSKNS number is choosen instead of custom-made for this