aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/tdc_helper.py
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-02-15 15:34:42 -0500
committerDavid S. Miller <davem@davemloft.net>2018-02-15 15:35:11 -0500
commitc402fb7e380c142f2ad3e94d4a1a096fc55b643f (patch)
tree379cb186c759641311ec2eed0c3e1aba9e30fa3c /tools/testing/selftests/tc-testing/tdc_helper.py
parentMerge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue (diff)
parenttun: Add ioctl() SIOCGSKNS cmd to allow obtaining net ns of tun device (diff)
downloadlinux-dev-c402fb7e380c142f2ad3e94d4a1a096fc55b643f.tar.xz
linux-dev-c402fb7e380c142f2ad3e94d4a1a096fc55b643f.zip
Merge branch 'tunchr-get-netns'
Kirill Tkhai says: ==================== net: Add ioctl() SIOCGSKNS cmd to allow obtaining net ns of tun device 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(). ==================== Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tdc_helper.py')
0 files changed, 0 insertions, 0 deletions