Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Nov 2005 14:52:07 +0200
From:      Giorgos Keramidas <keramida@linux.gr>
To:        Gleb Smirnoff <glebius@FreeBSD.org>
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:  <20051105125207.GC1219@flame.pc>
In-Reply-To: <20051105084924.GT91530@cell.sick.ru>
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> <20051105080116.GR91530@cell.sick.ru> <20051105084924.GT91530@cell.sick.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-11-05 11:49, Gleb Smirnoff <glebius@FreeBSD.org> wrote:
> One more update. Since I have removed this block:
>
>                        if (*(m->m_ext.ref_cnt) == 0)
>                                *(m->m_ext.ref_cnt) = 1;
>
> I have also altered KASSERT in mb_dtor_pack(). I don't like
> inventing an incorrect invariant check and then adding helpers
> to avoid it being triggered.
>
> [--- mbuma.patch ---]

Very nice, thanks!  I'll build the next kernel with the updated patch,
later today.




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