]> git.baikalelectronics.ru Git - kernel.git/commit
netns: fix get_net_ns_by_fd(int pid) typo
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 18 Nov 2016 09:41:46 +0000 (09:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 19:01:58 +0000 (14:01 -0500)
commit59b00798b0bddca55939fcac6b32b0c9cab8fa73
tree8ea1d4574b80bf97542a49098519a277f7ec2885
parent60edc0c4aa6b8d781529a96b73eaa9c60cc7c6a2
netns: fix get_net_ns_by_fd(int pid) typo

The argument to get_net_ns_by_fd() is a /proc/$PID/ns/net file
descriptor not a pid.  Fix the typo.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Rami Rosen <roszenrami@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h