Date: Mon, 22 Nov 2010 23:35:29 +0000 (UTC) From: Marko Zec <zec@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net if_vlan.c Message-ID: <201011222335.oAMNZiAD016854@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
zec 2010-11-22 23:35:29 UTC FreeBSD src repository Modified files: sys/net if_vlan.c Log: SVN rev 215726 on 2010-11-22 23:35:29Z by zec Allow for vlan(4) ifnets to have overlapping unit numbers if they are created in separated vnets. As a side-effect of having a separated if_cloner instance for each vnet, all vlan ifnets created in a vnet will be automatically destroyed when vnet teardown is initiated. Disallow SIOCSETVLAN and SIOCGETVLAN ioctls on vlan ifnets which are associated with physical ifnets residing in parent vnets. This is an interim vlan-specific solution which will be superseded by a more generic if_cloner V_irtualization change from p4. For nooptions VIMAGE builds, this should be a no-op change. Discussed with: bz MFC after: 3 days Revision Changes Path 1.152 +42 -0 src/sys/net/if_vlan.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011222335.oAMNZiAD016854>