From owner-freebsd-net@FreeBSD.ORG Mon Aug 20 07:39:58 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF63D106564A; Mon, 20 Aug 2012 07:39:57 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mail.kirov.so-ups.ru (mail.kirov.so-ups.ru [178.74.170.1]) by mx1.freebsd.org (Postfix) with ESMTP id 95F518FC0A; Mon, 20 Aug 2012 07:39:57 +0000 (UTC) Received: from kas30pipe.localhost (localhost.kirov.so-ups.ru [127.0.0.1]) by mail.kirov.so-ups.ru (Postfix) with SMTP id 18935B8068; Mon, 20 Aug 2012 11:39:50 +0400 (MSK) Received: from kirov.so-ups.ru (unknown [172.21.81.1]) by mail.kirov.so-ups.ru (Postfix) with ESMTP id 13538B8024; Mon, 20 Aug 2012 11:39:50 +0400 (MSK) Received: by ns.kirov.so-ups.ru (Postfix, from userid 1010) id 0BFC5BA0AB; Mon, 20 Aug 2012 11:39:50 +0400 (MSK) Received: from [127.0.0.1] (elsukov.kirov.oduur.so [10.118.3.52]) by ns.kirov.so-ups.ru (Postfix) with ESMTP id C31AABA09D; Mon, 20 Aug 2012 11:39:49 +0400 (MSK) Message-ID: <5031E9C5.9070604@FreeBSD.org> Date: Mon, 20 Aug 2012 11:39:49 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: John Baldwin References: <201208070448.q774mVNm080900@freefall.freebsd.org> <201208070805.43687.jhb@freebsd.org> <502A0FEA.1020808@FreeBSD.org> <201208160816.59655.jhb@freebsd.org> In-Reply-To: <201208160816.59655.jhb@freebsd.org> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release X-SpamTest-Info: Not protected Cc: freebsd-net@freebsd.org Subject: Re: kern/168742: detaching of ethernet adapter with configured vlans leads to panic 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: Mon, 20 Aug 2012 07:39:58 -0000 On 16.08.2012 16:16, John Baldwin wrote: >> This fixes the problem, thanks. > > Can you actually try this patch instead? I think I'd rather fix it this way > (this reworks how I originally tried to fix this): > > Index: if_vlan.c > =================================================================== > --- if_vlan.c (revision 239294) Hi, John. This also works, thanks. -- WBR, Andrey V. Elsukov