]> 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)
commita107ef65da741ebbd8b35a2ef86bded97e639e11
tree8ea1d4574b80bf97542a49098519a277f7ec2885
parentbaae88f106bfb41651919b8ddad0acbff186e442
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