Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2005 22:36:39 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Andrew Thompson <thompsa@freebsd.org>, FreeBSD Current <current@freebsd.org>, Brooks Davis <brooks@freebsd.org>
Subject:   Re: panic: ifc_free_unit: bit is already cleared
Message-ID:  <20051005203639.GA20552@garage.freebsd.pl>
In-Reply-To: <20051005024903.GA72743@heff.fud.org.nz>
References:  <20051005024903.GA72743@heff.fud.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help

--sdtB3X0nJg68CQEu
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 05, 2005 at 03:49:03PM +1300, Andrew Thompson wrote:
+> Hi,
+>=20
+> I have found a repeatable panic with network device cloning, unfortunatl=
y I am
+> unable to dump on this box. This is sparc64 with a 2 day old current.

The order is wrong in vlan_modevent().

if_clone_detach() is freeing ifc_units field, so ifc_free_unit() should not
be called after that.

This patch should fix the problem:

	http://people.freebsd.org/~pjd/patches/if_vlan.c.patch

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--sdtB3X0nJg68CQEu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFDRDlWForvXbEpPzQRAvm5AKCCp0WdPGlkuosuJABx5UcVaXKZLwCfVXtS
9du4pfm0F+mONRaOmKK12wU=
=oWg6
-----END PGP SIGNATURE-----

--sdtB3X0nJg68CQEu--



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