diff options
| -rw-r--r-- | net/core/rtnetlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 4a2640d38261..e1ba26fb4bf2 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c | |||
| @@ -742,7 +742,7 @@ static struct net *get_net_ns_by_pid(pid_t pid) | |||
| 742 | /* Lookup the network namespace */ | 742 | /* Lookup the network namespace */ |
| 743 | net = ERR_PTR(-ESRCH); | 743 | net = ERR_PTR(-ESRCH); |
| 744 | rcu_read_lock(); | 744 | rcu_read_lock(); |
| 745 | tsk = find_task_by_pid(pid); | 745 | tsk = find_task_by_vpid(pid); |
| 746 | if (tsk) { | 746 | if (tsk) { |
| 747 | struct nsproxy *nsproxy; | 747 | struct nsproxy *nsproxy; |
| 748 | nsproxy = task_nsproxy(tsk); | 748 | nsproxy = task_nsproxy(tsk); |
