Re: dead dhclient em0 in r192014 /Thinkpad T400

From: Jakub Lach <jakub_lach_at_mailplus.pl>
Date: Tue, 12 May 2009 17:24:59 -0700 (PDT)
Jung-uk Kim wrote:
> 
> On Tuesday 12 May 2009 02:40 pm, Dimitry Andric wrote:
>> On 2009-05-12 20:27, Jakub Lach wrote:
>> > After updating to 192014, gigabit Intel ethernet is dead.
>>
>> ...
>>
>> > in_ifinit: insertion failed
>>
>> Revert r192011 to fix this issue.
> 
> Or you can try the attached patch until it gets fixed.
> 
> Jung-uk Kim
> 
> --- sys/netinet/in.c	12 May 2009 07:41:20 -0000	1.131
> +++ sys/netinet/in.c	12 May 2009 21:18:51 -0000
> _at__at_ -917,6 +917,8 _at__at_ in_ifinit(struct ifnet *ifp, struct in_i
>  		info.rti_info[RTAX_GATEWAY] = (struct sockaddr *)&null_sdl;
>  		error = rtrequest1_fib(RTM_ADD, &info, &rt, 0);
>  
> +		if (error == EEXIST)
> +			return (0);
>  		if (error == 0 && rt != NULL) {
>  			RT_LOCK(rt);
>  			((struct sockaddr_dl *)rt->rt_gateway)->sdl_type  =
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 

Thanks for replies. 

I've already reverted 192011 for now, thanks for patch anyway.

-best regards, 
Jakub Lach
-- 
View this message in context: http://www.nabble.com/dead-dhclient-em0-in-r192014--Thinkpad-T400-tp23507827p23513281.html
Sent from the freebsd-current mailing list archive at Nabble.com.
Received on Tue May 12 2009 - 22:25:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC