From owner-freebsd-net@FreeBSD.ORG Wed Jan 7 17:54:44 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 316851065670 for ; Wed, 7 Jan 2009 17:54:44 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 084A48FC18 for ; Wed, 7 Jan 2009 17:54:43 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n07HsNft063782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Jan 2009 09:54:28 -0800 (PST) (envelope-from sam@freebsd.org) Message-ID: <4964EC4F.8030507@freebsd.org> Date: Wed, 07 Jan 2009 09:54:23 -0800 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Yony Yossef References: <000001c970a8$3fa45240$220f000a@mtl.com> <4964C2E9.1060301@bestunion.it> <000001c970d9$4403e590$220f000a@mtl.com> In-Reply-To: <000001c970d9$4403e590$220f000a@mtl.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: Eitan Shefi , 'Angelo Turetta' , freebsd-net@freebsd.org Subject: Re: VLAN interface management - unloading carrying driver hangs the machine X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2009 17:54:44 -0000 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