kern/134369: IPV6 in Head broken for routing table updates

Randall Stewart rrs at
Fri May 8 15:20:02 UTC 2009

>Number:         134369
>Category:       kern
>Synopsis:       IPV6 in Head broken for routing table updates
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 08 15:20:01 UTC 2009
>Originator:     Randall Stewart
>Release:        HEAD - 8.0
FreeBSD Consultant LLC
uname -a
FreeBSD bsd4 8.0-CURRENT FreeBSD 8.0-CURRENT #3 r191882:191891M: Fri May  8 07:35:56 EDT 2009     randall at bsd4:/usr/src/sys/amd64/compile/bsd4  amd64

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.

Simply add a new in6 address to an interface. If you have
a routing socket open you will see that NO information is

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.
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.


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.


More information about the freebsd-bugs mailing list