Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2009 09:54:23 -0800
From:      Sam Leffler <sam@freebsd.org>
To:        Yony Yossef <yonyossef.lists@gmail.com>
Cc:        Eitan Shefi <eitans@mellanox.co.il>, 'Angelo Turetta' <aturetta@bestunion.it>, freebsd-net@freebsd.org
Subject:   Re: VLAN interface management - unloading carrying driver hangs the machine
Message-ID:  <4964EC4F.8030507@freebsd.org>
In-Reply-To: <000001c970d9$4403e590$220f000a@mtl.com>
References:  <000001c970a8$3fa45240$220f000a@mtl.com>	<4964C2E9.1060301@bestunion.it> <000001c970d9$4403e590$220f000a@mtl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yony Yossef wrote:
>> Yony Yossef wrote:
>>     
>>> /sbin/ifconfig vlan3653 create
>>>
>>> Problem is when I assign an IP to the vlan interface.
>>> In that case, unloading the driver results in hanging the host.
>>>  
>>> Does it sound familiar to anybody?
>>>       
>> Well, surely I'd expect problems by doing so.
>> The correct way is to
>>
>> 	/sbin/ifconfig vlan3653 destroy
>>
>> before unloading the driver.
>>
>> Angelo.
>>     
>
> Thanks, I didn't know freebsd does not allow it.
>
>   
This seems wrong. Someone should disallow the driver detach/unload. 
Please file a PR about this so the issue is not lost.

Sam





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4964EC4F.8030507>