Date: Wed, 10 Aug 2005 17:34:55 +0900 From: Hajimu UMEMOTO <ume@FreeBSD.org> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: FreeBSD current mailing list <current@FreeBSD.org>, John Baldwin <jhb@FreeBSD.org> Subject: Re: LOR + panic in scope6.c Message-ID: <ygepssm42c0.wl%ume@mahoroba.org> In-Reply-To: <Pine.BSF.4.53.0508092112390.90867@e0-0.zab2.int.zabbadoz.net> References: <Pine.BSF.4.53.0508091138160.90867@e0-0.zab2.int.zabbadoz.net> <Pine.BSF.4.53.0508091525430.90867@e0-0.zab2.int.zabbadoz.net> <Pine.BSF.4.53.0508091841000.90867@e0-0.zab2.int.zabbadoz.net> <200508091657.12032.jhb@FreeBSD.org> <Pine.BSF.4.53.0508092112390.90867@e0-0.zab2.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
>>>>> On Tue, 9 Aug 2005 21:22:35 +0000 (UTC)
>>>>> "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> said:
bzeeb> The code goes about like this:
bzeeb> ...
bzeeb> SK_UNLOCK(sc);
bzeeb> ether_ifattach(ifp, eaddr);
bzeeb> SK_LOCK(sc);
bzeeb> ...
bzeeb> SK_UNLOCK(sc);
bzeeb> if (mii_phy_probe(dev, &sc_if->sk_miibus,
bzeeb> sk_ifmedia_upd, sk_ifmedia_sts)) {
bzeeb> printf("skc%d: no PHY found!\n", sc_if->sk_unit);
bzeeb> boom ==>> ether_ifdetach(ifp);
bzeeb> if_free(ifp);
bzeeb> error = ENXIO;
bzeeb> goto fail;
bzeeb> }
bzeeb> I guess I should check tomorrow that if_attachdomain1 really calls
bzeeb> the routines for AF_INET6 and what they do...
ether_ifattach() is called, and ether_ifattach() calls if_attach().
if_attachdomain1() is called from if_attach(). So,
ifp->if_afdata[AF_INET6] should be initialized.
However, domain_init_status was introduced, and it may prevent
if_attachdomain1() from initializing ifp->if_afdata. So, I suspect
the state of domain_init_status.
Sincerely,
--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygepssm42c0.wl%ume>
