VLAN interface management - unloading carrying driver hangs the machine

Sam Leffler sam at freebsd.org
Wed Jan 7 09:54:44 PST 2009


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




More information about the freebsd-net mailing list