From owner-freebsd-current@FreeBSD.ORG Mon Jun 20 23:39:09 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54D1316A41C for ; Mon, 20 Jun 2005 23:39:09 +0000 (GMT) (envelope-from pquerna@apache.org) Received: from utopia.in.force-elite.com (force-elite.com [216.255.199.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCD3043D55 for ; Mon, 20 Jun 2005 23:39:08 +0000 (GMT) (envelope-from pquerna@apache.org) X-AuthUser: chip@force-elite.com Received: from [10.0.0.41] (10.0.0.41:4840) by utopia.in.force-elite.com with [XMail 1.17 (Linux/Ix86) ESMTP Server] id for from ; Mon, 20 Jun 2005 16:39:07 -0700 Message-ID: <42B75325.3060906@apache.org> Date: Mon, 20 Jun 2005 16:37:09 -0700 From: Paul Querna User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <42ACE639.8030509@apache.org> In-Reply-To: <42ACE639.8030509@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: q@onthenet.com.au, joeldiaz@nc.rr.com, martin.mato@wanadoo.fr Subject: Re: Panic with nve X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2005 23:39:09 -0000 Paul Querna wrote. .... Following change stops all panics for me. I don't see the code path where m0 will be a free'ed mbuf at this point. This change doesn't fix the problem, but it at least stops the machine from crashing every few minutes :) --- if_nve.bork.c Mon Jun 20 16:38:57 2005 +++ if_nve.c Mon Jun 20 13:34:52 2005 @@ -935,7 +935,7 @@ ifp->if_timer = 8; /* Copy packet to BPF tap */ - BPF_MTAP(ifp, m0); + /* BPF_MTAP(ifp, m0); */ } ifp->if_flags |= IFF_OACTIVE; -Paul