[CC'ed -current and -mobile]
> BTW, there is one more problem during detach the pccard nic. When I
> detach my pccard nic, my kernel is panic. I tried this with Melco
> Airconnect WLI-PCM-L11 and COREGA FastEther PCC-TX, and it occured
> with either card.
> I made a quick hack to avoid this problem. I don't know if this fix
> is correct.
> I sent it to -current, -net and -mobile. But, my message seems
> disappeared. I don't know why.
This is a critical problem especially for IPv6 laptop users right?
The patch seems good enough for emergency workaround, If we don't have
enough time for the regular reviewing process before 4.1R out,
however, you are the right person to commit the patch since I know
that you've tested enough it for days :-)
> Index: sys/net/rtsock.c
> diff -u sys/net/rtsock.c.orig sys/net/rtsock.c
> --- sys/net/rtsock.c.orig Sun Feb 13 12:31:56 2000
> +++ sys/net/rtsock.c Sat Jul 22 08:53:16 2000
> @@ -828,7 +828,10 @@
>
> bzero((caddr_t)&info, sizeof(info));
> ifaaddr = ifma->ifma_addr;
> - ifpaddr = ifp->if_addrhead.tqh_first->ifa_addr;
> + if (ifp && ifp->if_addrhead.tqh_first)
> + ifpaddr = ifp->if_addrhead.tqh_first->ifa_addr;
> + else
> + ifpaddr = NULL;
> /*
> * If a link-layer address is present, present it as a ``gateway''
> * (similarly to how ARP entries, e.g., are presented).
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message