Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2006 17:40:19 GMT
From:      Ed Maste <emaste@phaedrus.sandvine.ca>
To:        freebsd-i386@FreeBSD.org
Subject:   Re: i386/97679: panic in ifconfig
Message-ID:  <200605231740.k4NHeJpc065774@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/97679; it has been noted by GNATS.

From: Ed Maste <emaste@phaedrus.sandvine.ca>
To: Andrej Zverev <az@FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: i386/97679: panic in ifconfig
Date: Tue, 23 May 2006 13:30:56 -0400

 On Tue, May 23, 2006 at 10:53:36AM +0400, Andrej Zverev wrote:
 
 > 	try write scipt, like this
 > 	#!/usr/bin/perl
 > 	for ($i=1; $i<4000; $i++)
 > 	{
 > 		system ("ifconfig create vlan$i");
 > 		system ("ifconfig vlan$i vlan $i vlandev $parent");
 > 		system ("ifconfig vlan$i 10.10.10.10/32");
 > 	}
 
 Do you still experience a panic if you run this script, destroy the
 vlans it created, and then try your test again?
 
 I've briefly looked into a race condition with if_grow() and I wonder
 if this is the case you're encountering.  It will only occur when you
 go from e.g. 8->16 or 16->32 ifnets, as the array expands by a factor
 of two each time.
 
 -ed



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