From nobody@FreeBSD.org  Fri May  8 15:19:18 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E950F106566B
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <rrs@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: IPV6 in Head broken for routing table updates
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         134369
>Category:       kern
>Synopsis:       [route] [ip6] IPV6 in Head broken for routing table updates
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    qingli
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 08 15:20:01 UTC 2009
>Closed-Date:    Fri Dec 04 19:46:50 UTC 2009
>Last-Modified:  Fri Dec 04 19:46:50 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri May 8 18:05:39 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134369 
State-Changed-From-To: open->closed 
State-Changed-By: qingli 
State-Changed-When: Fri Dec 4 19:46:08 UTC 2009 
State-Changed-Why:  
The patch had been committed and verified by the submitted in May 2009. 



Responsible-Changed-From-To: freebsd-net->qingli 
Responsible-Changed-By: qingli 
Responsible-Changed-When: Fri Dec 4 19:46:08 UTC 2009 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=134369 
>Unformatted:
