From owner-freebsd-net@FreeBSD.ORG Wed Jun 10 21:50:36 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35B2210656C4 for ; Wed, 10 Jun 2009 21:50:36 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id DFF798FC26 for ; Wed, 10 Jun 2009 21:50:35 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so583890ywe.13 for ; Wed, 10 Jun 2009 14:50:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=uF6txaobfhrCfV3LAzHhNlWpaP93MpxYSoo2d9e9nrY=; b=AgvW0wO2l1j8klbALCzBWPPzNe8NU2vQIh/vK/c+kgSBjrcAyUdzYCCBX3dBuYu5AK 3wxcD9KSel9ajYfdXkBsaL5P7Mc51/45bL11yZtd3E8H7lFQ0mVJ/cAZ/+wjh9K3uy2+ hlg61yc1/xsvgfr4LRwf4jgP/FrYwbXa1Ait8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Vsoyegfyns5U1V229Z4GEC3G/FFZn18dvCsa5i6Bb9ZjtKdQQZqS9WM/vDFUr1r5MC H8UIrBBGQh0yj5q9kX7Qm1Hk5RQw0Y8XcwZ/o2mAtzrRQMQvKpHEfQ58DTiRUQdwf9t/ 9qQWwdLg2ztaz8U5X3Gw+/0DetYwp1fZcZxYk= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.100.14.2 with SMTP id 2mr1933980ann.68.1244668670266; Wed, 10 Jun 2009 14:17:50 -0700 (PDT) In-Reply-To: <20090610210021.N22887@maildrop.int.zabbadoz.net> References: <20090610210021.N22887@maildrop.int.zabbadoz.net> Date: Wed, 10 Jun 2009 14:17:50 -0700 X-Google-Sender-Auth: e2f97abd5e8474b6 Message-ID: <3c1674c90906101417j39a01f85k8e98c0ee19a011a7@mail.gmail.com> From: Kip Macy To: "Bjoern A. Zeeb" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: fxp hack in sys/net/if.c? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2009 21:50:36 -0000 >From "cvs blame": Add workaround for fxp issue at interface initialization with IPv6. Some LAN card chip for fxp is known to cause problem at interface initialization with IPv6 enabled. It happens at some delicate timing. And also, just adding some DELAY before IPv6 address autoconfiguration is known to avoid the problem. Complete fix is changing the driver not to use interrupt at multicast filter initialization, but trying such change in this stage will be dangerous. So I add some DELAY() only inside #ifdef INET6 part, as temporal workaround only for 4.0. Approbed by: jkh Noticed by: Mattias Pantzare Obtained from: openbsd-tech mailing list On Wed, Jun 10, 2009 at 2:03 PM, Bjoern A. Zeeb wrote: > Hi, > > could anyone having a clue why that is there look at it and either > remove it or remove it and properly handle it elsewhere? > > I have continuesly noticed it for a while so I think the "temporary" > as given in the comment rather means "forgotten"? > > sys/net/if.c: =A0 =A0 =A0 =A0 =A0 DELAY(100);/* XXX: temporary workaround= for fxp > issue*/ > > /bz > > -- > Bjoern A. Zeeb =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0The greatest ri= sk is not taking one. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --=20 When bad men combine, the good must associate; else they will fall one by one, an unpitied sacrifice in a contemptible struggle. Edmund Burke