From owner-cvs-src-old@FreeBSD.ORG Fri Nov 26 15:46:58 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6349F106564A for ; Fri, 26 Nov 2010 15:46:58 +0000 (UTC) (envelope-from zec@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 511D18FC15 for ; Fri, 26 Nov 2010 15:46:58 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oAQFkwWh048330 for ; Fri, 26 Nov 2010 15:46:58 GMT (envelope-from zec@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oAQFkwAf048329 for cvs-src-old@freebsd.org; Fri, 26 Nov 2010 15:46:58 GMT (envelope-from zec@repoman.freebsd.org) Message-Id: <201011261546.oAQFkwAf048329@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to zec@repoman.freebsd.org using -f From: Marko Zec Date: Fri, 26 Nov 2010 15:46:49 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/net if_vlan.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2010 15:46:58 -0000 zec 2010-11-26 15:46:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/net if_vlan.c Log: SVN rev 215871 on 2010-11-26 15:46:49Z by zec MFC r215726: 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 Revision Changes Path 1.139.2.10 +42 -0 src/sys/net/if_vlan.c