[NETNS]: Process devinet ioctl in the correct namespace.
authorDenis V. Lunev <den@openvz.org>
Fri, 29 Feb 2008 04:51:43 +0000 (20:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Feb 2008 04:51:43 +0000 (20:51 -0800)
commite5b13cb10de209f924fdf9478214bcf7e4008d6d
tree212d723fe14e2dd49ab044f8ca969303f316645c
parent73b3871165e45ea6d57775c6bfb1a1760ad6e36b
[NETNS]: Process devinet ioctl in the correct namespace.

Add namespace parameter to devinet_ioctl and locate device inside it for
state changes.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/inetdevice.h
net/ipv4/af_inet.c
net/ipv4/devinet.c
net/ipv4/ipconfig.c