From owner-freebsd-current@FreeBSD.ORG Thu Nov 27 00:31:19 2003 Return-Path: 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 01ED716A4CF for ; Thu, 27 Nov 2003 00:31:19 -0800 (PST) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id C456043FE9 for ; Thu, 27 Nov 2003 00:31:17 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (210.50.217.107) by smtp01.syd.iprimus.net.au (7.0.020) id 3F8B009E011EB484; Thu, 27 Nov 2003 19:31:16 +1100 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id 0F671611E; Thu, 27 Nov 2003 19:31:49 +1100 (EST) Date: Thu, 27 Nov 2003 19:31:49 +1100 From: Tim Robbins To: ?????? ????????? ?????????? Message-ID: <20031127083149.GA13249@wombat.robbins.dropbear.id.au> References: <026c01c3b414$e653e7f0$b901320a@komi.mts.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <026c01c3b414$e653e7f0$b901320a@komi.mts.ru> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org Subject: Re: recent current panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 27 Nov 2003 08:31:19 -0000 On Wed, Nov 26, 2003 at 03:00:35PM +0300, ?????? ????????? ?????????? wrote: > i got a panic on recent -CURRENT: > > # tcpdump -i lo0 port 23 & > [1] 507 > listening on lo0 This is a known bug; silby@ is working to fix "lo" and the rest of the affected network drivers. See PR kern/59576. Here's the local patch to if_loop.c I'm using until this gets fixed. I've patched if_tun.c similarly. Index: if_loop.c =================================================================== RCS file: /home/ncvs/src/sys/net/if_loop.c,v retrieving revision 1.92 diff -u -r1.92 if_loop.c --- if_loop.c 20 Nov 2003 20:07:37 -0000 1.92 +++ if_loop.c 27 Nov 2003 08:18:33 -0000 @@ -262,6 +262,7 @@ * will only read from the mbuf (i.e., it won't * try to free it or keep a pointer a to it). */ + bzero(&m0, sizeof(m0)); m0.m_next = m; m0.m_len = 4; m0.m_data = (char *)⁡