From andrey.zverev@electro-com.ru  Tue Jul 24 21:04:46 2007
Return-Path: <andrey.zverev@electro-com.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 933D916A418
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 24 Jul 2007 21:04:46 +0000 (UTC)
	(envelope-from andrey.zverev@electro-com.ru)
Received: from mail.electro-com.ru (mail.electro-com.ru [86.110.161.242])
	by mx1.freebsd.org (Postfix) with ESMTP id 4FEAC13C481
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 24 Jul 2007 21:04:46 +0000 (UTC)
	(envelope-from andrey.zverev@electro-com.ru)
Received: from az by mail.electro-com.ru with local (Exim 4.66 (FreeBSD))
	(envelope-from <andrey.zverev@electro-com.ru>)
	id 1IDR3j-000HrV-DL
	for FreeBSD-gnats-submit@freebsd.org; Wed, 25 Jul 2007 00:32:43 +0400
Message-Id: <E1IDR3j-000HrV-DL@mail.electro-com.ru>
Date: Wed, 25 Jul 2007 00:32:43 +0400
From: Andrej Zverev <az@freebsd.org>
Sender: Andrej Zverev <andrey.zverev@electro-com.ru>
Reply-To: Andrej Zverev <az@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: bugs in vlans 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         114875
>Category:       kern
>Synopsis:       bugs in vlans
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 24 21:10:01 GMT 2007
>Closed-Date:    Tue Jul 24 22:01:26 GMT 2007
>Last-Modified:  Tue Jul 24 22:01:26 GMT 2007
>Originator:     Andrej Zverev
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:


>Description:
	While createing and deleting VLANs no all depends
	(ip address, vlandev, VID) cleared.
	
>How-To-Repeat:
	Just follow this step (don't try without rc.conf)
	1. put intro rc.conf
		cloned_interfaces="vlan10"
		ifconfig_vlan10="vlan 10 vlandev bge0 192.168.10.1/24 up"
	2. reboot system
	3. check if vlan present
	4. type ifconfig vlan10 destroy
	5. check if vlan no more exists
	6. type ifconfig vlan10 create
	7. type ifconfog vlan10 and see previous vlandev, VID 

	Tested on today (25.07.2007) 6.2-STABLE and -CURRENT.
	With different machines and network cards.

	Any additional information will be provided via request

	
>Fix:
	Sorry, no patch
	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: brooks 
State-Changed-When: Tue Jul 24 21:17:43 UTC 2007 
State-Changed-Why:  
Please confirm that this isn't just devd in action as per seperate e-mail. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114875 

From: Brooks Davis <brooks@freebsd.org>
To: Andrej Zverev <az@freebsd.org>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/114875: bugs in vlans
Date: Tue, 24 Jul 2007 16:17:12 -0500

 On Wed, Jul 25, 2007 at 12:32:43AM +0400, Andrej Zverev wrote:
 > >Description:
 > 	While createing and deleting VLANs no all depends
 > 	(ip address, vlandev, VID) cleared.
 > 	
 > >How-To-Repeat:
 > 	Just follow this step (don't try without rc.conf)
 > 	1. put intro rc.conf
 > 		cloned_interfaces="vlan10"
 > 		ifconfig_vlan10="vlan 10 vlandev bge0 192.168.10.1/24 up"
 > 	2. reboot system
 > 	3. check if vlan present
 > 	4. type ifconfig vlan10 destroy
 > 	5. check if vlan no more exists
 
 Please comment out the ifconfig_vlan10 variable in rc.conf before the
 next step and repeat.
 
 > 	6. type ifconfig vlan10 create
 
 You should now have an unconfigured vlan.
 
 > 	7. type ifconfog vlan10 and see previous vlandev, VID 
 
 What you are seeing is that creating of an interface is seen by devd and
 if there is an appropriate ifconfig_<if> variable it will be used due to
 the call to pccard_ether.
 
 -- Brooks
State-Changed-From-To: feedback->closed 
State-Changed-By: brooks 
State-Changed-When: Tue Jul 24 22:00:49 UTC 2007 
State-Changed-Why:  
Not a bug, devd performs as expected. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114875 
>Unformatted:
