From owner-freebsd-bugs@FreeBSD.ORG Fri May 8 15:20:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6F3E1065679 for ; Fri, 8 May 2009 15:20:01 +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 A8B748FC18 for ; Fri, 8 May 2009 15:20:01 +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 n48FK1Xj034770 for ; Fri, 8 May 2009 15:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n48FK1AR034769; Fri, 8 May 2009 15:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 8 May 2009 15:20:01 GMT Resent-Message-Id: <200905081520.n48FK1AR034769@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Randall Stewart Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E950F106566B for ; Fri, 8 May 2009 15:19:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D79958FC22 for ; Fri, 8 May 2009 15:19:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n48FJI6F069414 for ; Fri, 8 May 2009 15:19:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n48FJIKY069413; Fri, 8 May 2009 15:19:18 GMT (envelope-from nobody) Message-Id: <200905081519.n48FJIKY069413@www.freebsd.org> Date: Fri, 8 May 2009 15:19:18 GMT From: Randall Stewart To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/134369: IPV6 in Head broken for routing table updates X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2009 15:20:02 -0000 >Number: 134369 >Category: kern >Synopsis: IPV6 in Head broken for routing table updates >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 08 15:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Randall Stewart >Release: HEAD - 8.0 >Organization: FreeBSD Consultant LLC >Environment: uname -a FreeBSD bsd4 8.0-CURRENT FreeBSD 8.0-CURRENT #3 r191882:191891M: Fri May 8 07:35:56 EDT 2009 randall@bsd4:/usr/src/sys/amd64/compile/bsd4 amd64 >Description: The routing socket no longer gets routing messages for IPv6. Also when an IPv6 address is removed the route is NOT removed. This seriously breaks any IPv6 routing protocol which may use a routing socket. It also breaks SCTP as well. >How-To-Repeat: Simply add a new in6 address to an interface. If you have a routing socket open you will see that NO information is given. Then delete the in6 address. When its deleted aka ifconfig xxx inet6 addr -alias then do a netstat -r -n inet6 and you will still find the address. I can also supply a small program that reads the routing socket if you want to run it before the add of the inet6 address. >Fix: Well there are two possibilities. Qing Li can go in can add back the rt_newaddrmsg() calls that he took out in the right places in the refactor'd code he committed around Dec/Jan. Or We can back out these changes before 8 goes out. We need to get this fixed BEFORE the 8 code slush IMO. So if Qing Li does not have time to fix this.. then backing out his changes are the right answer. >Release-Note: >Audit-Trail: >Unformatted: