Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2003 17:34:17 -0000
From:      Robert Watson <rwatson@freebsd.org>
To:        Pawel Jakub Dawidek <nick@garage.freebsd.pl>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Panic: if_simloop: attempted use of a free mbuf!
Message-ID:  <Pine.NEB.3.96L.1031128122957.11498d-100000@fledge.watson.org>
In-Reply-To: <20031128083538.GL76130@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1031128122957.11498d-100000>