Bjoern A. Zeeb be31e5e7b5 Make the in-kernel logic for the SIOCSIFVNET, SIOCSIFRVNET ioctls
(ifconfig ifN (-)vnet <jname|jid>) work correctly.

Move vi_if_move to if.c and split it up into two functions(*),
one for each ioctl.

In the reclaim case, correctly set the vnet before calling if_vmove.

Instead of silently allowing a move of an interface from the current
vnet to the current vnet, return an error. (*)

There is some duplicate interface name checking before actually moving
the interface between network stacks without locking and thus race
prone. Ideally if_vmove will correctly and automagically handle these
in the future.

Suggested by:	rwatson (*)
Approved by:	re (kib)
2009-07-26 11:29:26 +00:00
..
2009-06-25 12:46:59 +00:00
2009-06-24 20:52:37 +00:00
2009-06-09 23:24:04 +00:00
2008-10-27 11:45:31 +00:00
2006-08-16 09:34:56 +00:00
2009-01-01 02:08:56 +00:00
2009-01-01 02:08:56 +00:00
2009-05-27 16:36:54 +00:00
2009-01-01 02:29:17 +00:00
2009-05-20 17:59:49 +00:00
2009-05-09 19:01:24 +00:00
2006-09-22 22:11:29 +00:00
2009-01-01 02:11:01 +00:00
2007-02-06 16:24:57 +00:00
2009-06-03 17:19:12 +00:00
2008-09-22 10:37:02 +00:00
2006-11-11 16:19:12 +00:00
2008-07-23 16:44:20 +00:00
2009-05-07 13:49:48 +00:00
2006-03-01 06:48:31 +00:00
2009-03-01 04:57:23 +00:00
2009-06-25 12:46:59 +00:00