Wenfeng Liu 790aa264bc kni: fix ioctl in container
In containers like docker, current->pid returns current process's global
PID instead of its own PID under containers's PID namespace, and
get_net_ns_by_pid() suppose to accept a virtual PID under its own
namespace, so we should use task_pid_vnr(current) to get current process's
virtual PID instead of current->pid.

Signed-off-by: Wenfeng Liu <liuwf@arraynetworks.com.cn>
Acked-by: Helin Zhang <helin.zhang@intel.com>
2015-06-17 15:16:44 +02:00
..
2015-06-12 11:10:10 +02:00
2015-06-12 11:10:10 +02:00
2015-06-17 15:16:44 +02:00
2015-02-24 22:12:35 +01:00
2015-06-12 11:10:10 +02:00
2015-06-12 11:10:10 +02:00
2015-06-12 16:16:50 +02:00
2015-04-23 15:11:12 +02:00
2015-03-10 12:06:08 +01:00
2015-06-12 17:07:24 +02:00
2015-05-22 16:06:23 +02:00