net: Allow setting the network namespace by fd
commitf063052947f770845a6252f7fa24f6f624592a24
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 5 May 2011 00:51:50 +0000 (4 17:51 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 10 May 2011 21:36:03 +0000 (10 14:36 -0700)
tree17513dbd49d5a1a08443d76374d10dda6114b7a7
parenta00eaf11a223c63fbb212369d6db69ce4c55a2d1
net: Allow setting the network namespace by fd

Take advantage of the new abstraction and allow network devices
to be placed in any network namespace that we have a fd to talk
about.

Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
include/linux/if_link.h
include/net/net_namespace.h
net/core/net_namespace.c
net/core/rtnetlink.c