Date: Sat, 23 May 2009 21:43:44 +0000 (UTC) From: Marko Zec <zec@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src UPDATING src/sys/kern kern_vimage.c src/sys/net if_clone.c if_loop.c vnet.h src/sys/sys param.h vimage.h Message-ID: <200905232146.n4NLk0Q6015854@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
zec 2009-05-23 21:43:44 UTC
FreeBSD src repository
Modified files:
. UPDATING
sys/kern kern_vimage.c
sys/net if_clone.c if_loop.c vnet.h
sys/sys param.h vimage.h
Log:
SVN rev 192669 on 2009-05-23 21:43:44Z by zec
V_irtualize the if_clone framework, thus allowing for clonable ifnets
to optionally have overlapping unit numbers if attached in different
vnets.
At this stage if_loop is the only clonable ifnet class that has been
extended to allow for such overlapping allocation of unit numbers, i.e.
in each vnet it is possible to have a lo0 interface. Other clonable ifnet
classes remain to operate with traditional semantics, i.e. each instance
of a clonable ifnet will be assigned a globally unique unit number,
regardless in which vnet such an ifnet becomes instantiated.
While here, garbage collect unused _lo_list field in struct vnet_net,
as well as improve indentation for #defines in sys/net/vnet.h.
The layout of struct vnet_net has changed, therefore bump
__FreeBSD_version.
This change has no functional impact on nooptions VIMAGE kernel builds.
Reviewed by: bz, brooks
Approved by: julian (mentor)
Revision Changes Path
1.604 +5 -0 src/UPDATING
1.8 +5 -0 src/sys/kern/kern_vimage.c
1.14 +71 -13 src/sys/net/if_clone.c
1.133 +13 -0 src/sys/net/if_loop.c
1.10 +21 -16 src/sys/net/vnet.h
1.410 +1 -1 src/sys/sys/param.h
1.25 +2 -0 src/sys/sys/vimage.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905232146.n4NLk0Q6015854>
