From owner-freebsd-net@FreeBSD.ORG Tue Mar 31 10:40:03 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FB6E106566B for ; Tue, 31 Mar 2009 10:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 538678FC12 for ; Tue, 31 Mar 2009 10:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2VAe30i002562 for ; Tue, 31 Mar 2009 10:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2VAe314002561; Tue, 31 Mar 2009 10:40:03 GMT (envelope-from gnats) Date: Tue, 31 Mar 2009 10:40:03 GMT Message-Id: <200903311040.n2VAe314002561@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: LiangZhenyu Cc: Subject: Re: kern/133235: [netinet] [patch] Process SIOCDLIFADDR command incorrectly in in_control() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: LiangZhenyu List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 10:40:03 -0000 The following reply was made to PR kern/133235; it has been noted by GNATS. From: LiangZhenyu To: bug-followup@FreeBSD.org, soflare@gmail.com Cc: Subject: Re: kern/133235: [netinet] [patch] Process SIOCDLIFADDR command incorrectly in in_control() Date: Tue, 31 Mar 2009 18:02:50 +0800 The long expression: candidate.s_addr = ((struct sockaddr_in *)&ifa->ifa_addr)->sin_addr.s_addr; will cause a compilation problem in my machine. The target can be generated but was wrong. So I split it to 2 short expressions.