freebsd-skq/sys
bz 3aec900b26 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
..
amd64 Add a new type of VM object: OBJT_SG. An OBJT_SG object is very similar to 2009-07-24 13:50:29 +00:00
arm Add a new type of VM object: OBJT_SG. An OBJT_SG object is very similar to 2009-07-24 13:50:29 +00:00
boot On special systems where the MBR and the GPT are in sync (up to the 4th 2009-06-26 09:32:31 +00:00
bsm Import OpenBSM 1.1p1 from vendor branch to 8-CURRENT, populating 2009-07-17 14:02:20 +00:00
cam Fix copy-paste bug. Use regular non-polled mode for executing FLUSHCACHE 2009-07-17 21:48:08 +00:00
cddl Fix extattr_list_file(2) on ZFS in case the attribute directory 2009-07-22 15:15:58 +00:00
compat Some jail parameters (in particular, "ip4" and "ip6" for IP address 2009-07-25 14:48:57 +00:00
conf Add note, that ahci(4) and siis(4) supersede ata(4) drivers. 2009-07-25 18:45:09 +00:00
contrib Build on Jeff Roberson's linker-set based dynamic per-CPU allocator 2009-07-14 22:48:30 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb Build on Jeff Roberson's linker-set based dynamic per-CPU allocator 2009-07-14 22:48:30 +00:00
dev Improvement on the last change, this gives a precise 2009-07-24 21:35:52 +00:00
fs Add a new type of VM object: OBJT_SG. An OBJT_SG object is very similar to 2009-07-24 13:50:29 +00:00
gdb
geom - Fix the issue with read access count modification on RAID-5 plexes properly. 2009-07-18 11:12:48 +00:00
gnu Fix the build by using proper format. 2009-06-25 16:48:13 +00:00
i386 Add a new type of VM object: OBJT_SG. An OBJT_SG object is very similar to 2009-07-24 13:50:29 +00:00
ia64 Add a new type of VM object: OBJT_SG. An OBJT_SG object is very similar to 2009-07-24 13:50:29 +00:00
isa Rename statclock_disable variable to atrtcclock_disable that it actually is, 2009-05-03 17:47:21 +00:00
kern Make the in-kernel logic for the SIOCSIFVNET, SIOCSIFRVNET ioctls 2009-07-26 11:29:26 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern done method is supposed to return int. 2009-06-22 22:09:18 +00:00
mips Add a new type of VM object: OBJT_SG. An OBJT_SG object is very similar to 2009-07-24 13:50:29 +00:00
modules correct setup of opt_ddb.h 2009-07-21 19:24:53 +00:00
net Make the in-kernel logic for the SIOCSIFVNET, SIOCSIFRVNET ioctls 2009-07-26 11:29:26 +00:00
net80211 revert OACTIVE part of r195845; instead fix the comment so it does not refer 2009-07-24 15:37:02 +00:00
netatalk Use queue(9) instead of hand-crafted link lists for the global netatalk 2009-06-24 21:36:09 +00:00
netgraph Introduce and use a sysinit-based initialization scheme for virtual 2009-07-23 20:46:49 +00:00
netinet Catch ipfw up to the rest of the vimage code. 2009-07-25 06:42:42 +00:00
netinet6 Introduce and use a sysinit-based initialization scheme for virtual 2009-07-23 20:46:49 +00:00
netipsec Introduce and use a sysinit-based initialization scheme for virtual 2009-07-23 20:46:49 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm Reimplement the netisr framework in order to support parallel netisr 2009-06-01 10:41:38 +00:00
netncp
netsmb Rework socket upcalls to close some races with setup/teardown of upcalls. 2009-06-01 21:17:03 +00:00
nfs Revert rev 192323 (nfs_common.c only): 2009-07-12 03:53:52 +00:00
nfsclient Patch the regular nfs client in a manner analagous to 2009-07-17 19:38:07 +00:00
nfsserver Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
nlm Since svc_[dg|vc|tli|tp]_create() did not hold a reference count on the 2009-06-17 22:50:26 +00:00
opencrypto Fix cryptodev UIO creation. 2009-05-23 13:23:46 +00:00
pc98 Implementation of the upcoming Wireless Mesh standard, 802.11s, on the 2009-07-11 15:02:45 +00:00
pci Adding hardware ID for RTL810x PCIe found on HP Pavilion DV2-1022AX. 2009-07-14 04:35:13 +00:00
powerpc Add a new type of VM object: OBJT_SG. An OBJT_SG object is very similar to 2009-07-24 13:50:29 +00:00
rpc Use PBDRY flag for msleep(9) in NFS and NLM when sleeping thread owns 2009-07-14 22:54:29 +00:00
security Import OpenBSM 1.1p1 from vendor branch to 8-CURRENT, populating 2009-07-17 14:02:20 +00:00
sparc64 Add a new type of VM object: OBJT_SG. An OBJT_SG object is very similar to 2009-07-24 13:50:29 +00:00
sun4v Correct an error of omission in r195649 ("Add support to the virtual memory 2009-07-13 18:11:59 +00:00
sys Make the in-kernel logic for the SIOCSIFVNET, SIOCSIFRVNET ioctls 2009-07-26 11:29:26 +00:00
tools - Increase dynamic range of filter coefficients from 28bit to 30bit. 2009-07-05 18:15:06 +00:00
ufs Fix fpathconf(3) on fifos, in effect making ls(1) properly 2009-07-02 20:05:21 +00:00
vm Remove debugging that crept in with previous commit. 2009-07-24 15:06:49 +00:00
xdr MFdevbranch 192944 2009-05-28 08:18:12 +00:00
xen Catch up with r195249, "Improve the handling of cpuset with interrupts." 2009-07-21 16:54:11 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00