panic: ifc_free_unit: bit is already cleared

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Oct 5 13:37:07 PDT 2005


On Wed, Oct 05, 2005 at 03:49:03PM +1300, Andrew Thompson wrote:
+> Hi,
+> 
+> I have found a repeatable panic with network device cloning, unfortunatly 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

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20051005/fe8a3efe/attachment.bin


More information about the freebsd-current mailing list