From owner-freebsd-current@FreeBSD.ORG Tue May 12 21:23:35 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id B3E98106564A; Tue, 12 May 2009 21:23:33 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Tue, 12 May 2009 17:23:21 -0400 User-Agent: KMail/1.6.2 References: <23507827.post@talk.nabble.com> <4A09C292.5070700@andric.com> In-Reply-To: <4A09C292.5070700@andric.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_OjeCKNw4+iCfM1o" Message-Id: <200905121723.26171.jkim@FreeBSD.org> Cc: Qing Li , Dimitry Andric , Jakub Lach Subject: Re: dead dhclient em0 in r192014 /Thinkpad T400 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2009 21:23:35 -0000 --Boundary-00=_OjeCKNw4+iCfM1o Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 --Boundary-00=_OjeCKNw4+iCfM1o Content-Type: text/plain; charset="iso-8859-1"; name="in.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="in.c.diff" --- sys/netinet/in.c 12 May 2009 07:41:20 -0000 1.131 +++ sys/netinet/in.c 12 May 2009 21:18:51 -0000 @@ -917,6 +917,8 @@ 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 = --Boundary-00=_OjeCKNw4+iCfM1o--