Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Nov 2005 10:28:36 +0300
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Giorgos Keramidas <keramida@linux.gr>
Cc:        freebsd-current@FreeBSD.org, Andre Oppermann <andre@FreeBSD.org>, sam@FreeBSD.org, thierry@herbelot.com
Subject:   Re: panic: mb_dtor_pack: ref_cnt != 1
Message-ID:  <20051105072836.GQ91530@cell.sick.ru>
In-Reply-To: <20051105034105.GA906@flame.pc>
References:  <20051104092724.GA33945@xor.obsecurity.org> <436B885B.6010609@freebsd.org> <20051104163526.GC82727@flame.pc> <200511041833.30955.thierry@herbelot.com> <436BA8B5.9070104@freebsd.org> <20051105003420.GM91530@cell.sick.ru> <20051105034105.GA906@flame.pc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 05, 2005 at 05:41:05AM +0200, Giorgos Keramidas wrote:
G> On 2005-11-05 03:34, Gleb Smirnoff <glebius@freebsd.org> wrote:
G> >   Andre, Thierry, Sam,
G> >
G> >   this patch should fix the problems
G> 
G> But it panics in mb_dtor_pack() because ext_type != EXT_CLUSTER
G> when my ath0 interface tries to associate with an AP.
G> 
G> I had to change this too, to make things work:

Yes, you are right, thanks.

G> %%%
G> Index: kern/kern_mbuf.c
G> ===================================================================
G> RCS file: /home/ncvs/src/sys/kern/kern_mbuf.c,v
G> retrieving revision 1.13
G> diff -u -r1.13 kern_mbuf.c
G> --- kern/kern_mbuf.c	4 Nov 2005 17:20:53 -0000	1.13
G> +++ kern/kern_mbuf.c	5 Nov 2005 03:27:06 -0000
G> @@ -332,7 +332,7 @@
G>  	KASSERT(m->m_ext.ext_free == NULL, ("%s: ext_free != NULL", __func__));
G>  	KASSERT(m->m_ext.ext_args == NULL, ("%s: ext_args != NULL", __func__));
G>  	KASSERT(m->m_ext.ext_size == MCLBYTES, ("%s: ext_size != MCLBYTES", __func__));
G> -	KASSERT(m->m_ext.ext_type == EXT_CLUSTER, ("%s: ext_type != EXT_CLUSTER", __func__));
G> +	KASSERT(m->m_ext.ext_type == EXT_PACKET, ("%s: ext_type != EXT_PACKET", __func__));
G>  	KASSERT(*m->m_ext.ref_cnt == 1, ("%s: ref_cnt != 1", __func__));
G>  #ifdef INVARIANTS
G>  	trash_dtor(m->m_ext.ext_buf, MCLBYTES, arg);
G> %%%

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051105072836.GQ91530>