From owner-freebsd-current@FreeBSD.ORG Fri Nov 28 09:34:17 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 B2DF716A4CF for ; Fri, 28 Nov 2003 09:34:17 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E829B43F93 for ; Fri, 28 Nov 2003 09:34:15 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hASHVbMg043575; Fri, 28 Nov 2003 12:31:37 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hASHVbb7043572; Fri, 28 Nov 2003 12:31:37 -0500 (EST) (envelope-from robert@fledge.watson.org) From: Robert Watson X-Sender: robert@fledge.watson.org To: Pawel Jakub Dawidek In-Reply-To: <20031128083538.GL76130@garage.freebsd.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: sam@errno.com cc: freebsd-current@freebsd.org Subject: Re: Panic: if_simloop: attempted use of a free mbuf! 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: , Date: Fri, 28 Nov 2003 17:34:17 -0000 X-Original-Date: Fri, 28 Nov 2003 12:31:36 -0500 (EST) X-List-Received-Date: Fri, 28 Nov 2003 17:34:17 -0000 Silby's patch to fix this was approved by re@ this morning, should go into the tree shortly. Basically, the assertion is slightly too agressive as some callers into BPF "mock up" mbufs to hold data submitted to BPF. No doubt this will get cleaned up, but in the mean time the fix is simply to remove the assertion. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Fri, 28 Nov 2003, Pawel Jakub Dawidek wrote: > Hello. > > I'm reaching assertion from /sys/net/if_loop.c:270. > > This is very easy to reproduce: > > First you need to put loopback into promiscuous mode: > > # tcpdump -i lo0 > > Then try to connect to loopback, for example: > > # telnet 127.0.0.1 22 > > Enjoy!:) > > -- > Pawel Jakub Dawidek pawel@dawidek.net > UNIX Systems Programmer/Administrator http://garage.freebsd.pl > Am I Evil? Yes, I Am! http://cerber.sourceforge.net >