From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 05:18:48 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94659106566B for ; Sun, 3 Jan 2010 05:18:48 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6F68FC15 for ; Sun, 3 Jan 2010 05:18:47 +0000 (UTC) Received: by fxm27 with SMTP id 27so13340150fxm.3 for ; Sat, 02 Jan 2010 21:18:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=rKUn31z6S2vR5xTSnZi8TnvXdWCMtIgpPyLEk1jrFaE=; b=SvTSjB4Z6pVso63ZOG1g8joknZHUWfhFs7rU0KXtSVu3g2hvWR0dyxjvPK46kQtWoG OnadulLw2/wcdb0bqVpKGX8etGs7FK+nbxOKDthWdODAuIX781136KzZLAhQkXIV+1Sc 39AeWGEjSI5x+B6O4HF68tK2z/aOXDn0a7e2E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=R0TyRxf2N3kMkyIzVCCa2Y6ySiO5Ooeau9R2CM+C0Nbv72j5r3nNlPV53Tomf2/Z8e UIe1p4B8COdWhWIKvBlObxh1K2jNYJFvzAbdA/WVfB03AOK70uuehmE0WqcJVYpvc2X+ 7pJ4dc6haI49yAZVRToSu6qNEt+/8GhhGEV7E= MIME-Version: 1.0 Received: by 10.239.159.148 with SMTP id y20mr1187806hbc.58.1262495912313; Sat, 02 Jan 2010 21:18:32 -0800 (PST) Date: Sun, 3 Jan 2010 00:18:32 -0500 Message-ID: <25ff90d61001022118y3c2a4ddcr30fd5283af065346@mail.gmail.com> From: David Horn To: Qing Li , freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary=001485f27fae62464f047c3bbc50 Cc: Subject: netinet6/in6.c r201282 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: Sun, 03 Jan 2010 05:18:48 -0000 --001485f27fae62464f047c3bbc50 Content-Type: text/plain; charset=ISO-8859-1 Qing -- I have been having some issues with local ipv6 routes to machines that are supposed to be on-link (attached to the same ethernet switch as my test FreeBSD 9.0 box, and in the same /64) not being able to be accessed properly after r201282. Simple ping6 to the host does not result in a echo response once the ndp entries go stale. (from looking at ndp -a) I noticed that there seems to be a missing /64 on the routing table entry, and doing a "route get -inet6 $hostname" for a host that is supposed to be on-link and in the same /64 results in a routing entry that points to the default router instead of the appropriate route for the /64. I have attached both a working (route.good.txt) and broken (route.bad.txt) routing table (from netstat -rWnfinet6) Let me know if you want a tcpdump, or other configuration data. I can get it to work again if I hack up in6.c (not a valid fix TTBOMK) like so: Index: in6.c =================================================================== --- in6.c (revision 201413) +++ in6.c (working copy) @@ -1766,8 +1766,6 @@ || (ifp->if_flags & IFF_LOOPBACK))) { error = ifa_add_loopback_route((struct ifaddr *)ia, (struct sockaddr *)&ia->ia_addr); - if (error == 0) - ia->ia_flags |= IFA_RTSELF; } /* Add ownaddr as loopback rtentry, if necessary (ex. on p2p link). */ uname -a FreeBSD la 9.0-CURRENT FreeBSD 9.0-CURRENT #15 r201407:201413: Sat Jan 2 22:36:31 EST 2010 dhorn@la:/usr/obj/usr/src/sys/DHORN amd64 --Thanks! ---Dave Horn --001485f27fae62464f047c3bbc50 Content-Type: text/plain; charset=US-ASCII; name="route.bad.txt" Content-Disposition: attachment; filename="route.bad.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g3zd6i201 Um91dGluZyB0YWJsZXMKCkludGVybmV0NjoKRGVzdGluYXRpb24gICAgICAgICAgICAgICAgICAg ICAgIEdhdGV3YXkgICAgICAgICAgICAgICAgICAgICAgIEZsYWdzICAgIFJlZnMgICAgICBVc2Ug ICAgTXR1ICAgIE5ldGlmIEV4cGlyZQo6Oi85NiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg OjoxICAgICAgICAgICAgICAgICAgICAgICAgICAgVUdSUyAgICAgICAgMCAgICAgICAgMCAgMTYz ODQgICAgICBsbzAgPT4KZGVmYXVsdCAgICAgICAgICAgICAgICAgICAgICAgICAgIGZlODA6OjIy NDoxZmY6ZmU0MzoyMWU2JWJmZTAgIFVHICAgICAgICAgIDAgICAgICAgIDAgICAxNTAwICAgICBi ZmUwCjo6MSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6OjEgICAgICAgICAgICAgICAg ICAgICAgICAgICBVSCAgICAgICAgICAwICAgICAgICAyICAxNjM4NCAgICAgIGxvMAo6OmZmZmY6 MC4wLjAuMC85NiAgICAgICAgICAgICAgICAgOjoxICAgICAgICAgICAgICAgICAgICAgICAgICAg VUdSUyAgICAgICAgMCAgICAgICAgMCAgMTYzODQgICAgICBsbzAKMjAwMTo0NzA6ODo1ODQ6OiAg ICAgICAgICAgICAgICAgIGxpbmsjMiAgICAgICAgICAgICAgICAgICAgICAgIFVIICAgICAgICAg IDAgICAgICAgIDAgICAxNTAwICAgICBiZmUwCjIwMDE6NDcwOjg6NTg0OjphYSAgICAgICAgICAg ICAgICBsaW5rIzIgICAgICAgICAgICAgICAgICAgICAgICBVSFMgICAgICAgICAwICAgICAgICAw ICAxNjM4NCAgICAgIGxvMApmZTgwOjovMTAgICAgICAgICAgICAgICAgICAgICAgICAgOjoxICAg ICAgICAgICAgICAgICAgICAgICAgICAgVUdSUyAgICAgICAgMCAgICAgICAgMCAgMTYzODQgICAg ICBsbzAKZmU4MDo6JWJmZTAgICAgICAgICAgICAgICAgICAgICAgIGxpbmsjMiAgICAgICAgICAg ICAgICAgICAgICAgIFVIICAgICAgICAgIDAgICAgICAgIDAgICAxNTAwICAgICBiZmUwCmZlODA6 OjIxYzoyM2ZmOmZlOTg6MmM1ZCViZmUwICAgICBsaW5rIzIgICAgICAgICAgICAgICAgICAgICAg ICBVSFMgICAgICAgICAwICAgICAgICAwICAxNjM4NCAgICAgIGxvMApmZTgwOjolbG8wICAgICAg ICAgICAgICAgICAgICAgICAgbGluayM1ICAgICAgICAgICAgICAgICAgICAgICAgVUggICAgICAg ICAgMCAgICAgICAgMCAgMTYzODQgICAgICBsbzAKZmU4MDo6MSVsbzAgICAgICAgICAgICAgICAg ICAgICAgIGxpbmsjNSAgICAgICAgICAgICAgICAgICAgICAgIFVIUyAgICAgICAgIDAgICAgICAg IDAgIDE2Mzg0ICAgICAgbG8wCmZmMDE6Mjo6LzMyICAgICAgICAgICAgICAgICAgICAgICBmZTgw OjoyMWM6MjNmZjpmZTk4OjJjNWQlYmZlMCBVICAgICAgICAgICAwICAgICAgICAwICAgMTUwMCAg ICAgYmZlMApmZjAxOjU6Oi8zMiAgICAgICAgICAgICAgICAgICAgICAgOjoxICAgICAgICAgICAg ICAgICAgICAgICAgICAgVSAgICAgICAgICAgMCAgICAgICAgMCAgMTYzODQgICAgICBsbzAKZmYw Mjo6LzE2ICAgICAgICAgICAgICAgICAgICAgICAgIDo6MSAgICAgICAgICAgICAgICAgICAgICAg ICAgIFVHUlMgICAgICAgIDAgICAgICAgIDAgIDE2Mzg0ICAgICAgbG8wCmZmMDI6OiViZmUwLzMy ICAgICAgICAgICAgICAgICAgICBmZTgwOjoyMWM6MjNmZjpmZTk4OjJjNWQlYmZlMCBVICAgICAg ICAgICAwICAgICAgICAwICAgMTUwMCAgICAgYmZlMApmZjAyOjolbG8wLzMyICAgICAgICAgICAg ICAgICAgICAgOjoxICAgICAgICAgICAgICAgICAgICAgICAgICAgVSAgICAgICAgICAgMCAgICAg ICAgMCAgMTYzODQgICAgICBsbzAK --001485f27fae62464f047c3bbc50 Content-Type: text/plain; charset=US-ASCII; name="route.good.txt" Content-Disposition: attachment; filename="route.good.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g3zd7m381 Um91dGluZyB0YWJsZXMKCkludGVybmV0NjoKRGVzdGluYXRpb24gICAgICAgICAgICAgICAgICAg ICAgIEdhdGV3YXkgICAgICAgICAgICAgICAgICAgICAgIEZsYWdzICAgIFJlZnMgICAgICBVc2Ug ICAgTXR1ICAgIE5ldGlmIEV4cGlyZQo6Oi85NiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg OjoxICAgICAgICAgICAgICAgICAgICAgICAgICAgVUdSUyAgICAgICAgMCAgICAgICAgMCAgMTYz ODQgICAgICBsbzAgPT4KZGVmYXVsdCAgICAgICAgICAgICAgICAgICAgICAgICAgIGZlODA6OjIy NDoxZmY6ZmU0MzoyMWU2JWJmZTAgIFVHICAgICAgICAgIDAgICAgICAgIDAgICAxNTAwICAgICBi ZmUwCjo6MSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6OjEgICAgICAgICAgICAgICAg ICAgICAgICAgICBVSCAgICAgICAgICAwICAgICAgICAyICAxNjM4NCAgICAgIGxvMAo6OmZmZmY6 MC4wLjAuMC85NiAgICAgICAgICAgICAgICAgOjoxICAgICAgICAgICAgICAgICAgICAgICAgICAg VUdSUyAgICAgICAgMCAgICAgICAgMCAgMTYzODQgICAgICBsbzAKMjAwMTo0NzA6ODo1ODQ6Oi82 NCAgICAgICAgICAgICAgIGxpbmsjMiAgICAgICAgICAgICAgICAgICAgICAgIFUgICAgICAgICAg IDAgICAgICAgIDAgICAxNTAwICAgICBiZmUwCjIwMDE6NDcwOjg6NTg0OjphYSAgICAgICAgICAg ICAgICBsaW5rIzIgICAgICAgICAgICAgICAgICAgICAgICBVSFMgICAgICAgICAwICAgICAgICAw ICAxNjM4NCAgICAgIGxvMApmZTgwOjovMTAgICAgICAgICAgICAgICAgICAgICAgICAgOjoxICAg ICAgICAgICAgICAgICAgICAgICAgICAgVUdSUyAgICAgICAgMCAgICAgICAgMCAgMTYzODQgICAg ICBsbzAKZmU4MDo6JWJmZTAvNjQgICAgICAgICAgICAgICAgICAgIGxpbmsjMiAgICAgICAgICAg ICAgICAgICAgICAgIFUgICAgICAgICAgIDAgICAgICAgIDAgICAxNTAwICAgICBiZmUwCmZlODA6 OjIxYzoyM2ZmOmZlOTg6MmM1ZCViZmUwICAgICBsaW5rIzIgICAgICAgICAgICAgICAgICAgICAg ICBVSFMgICAgICAgICAwICAgICAgICAwICAxNjM4NCAgICAgIGxvMApmZTgwOjolbG8wLzY0ICAg ICAgICAgICAgICAgICAgICAgbGluayM1ICAgICAgICAgICAgICAgICAgICAgICAgVSAgICAgICAg ICAgMCAgICAgICAgMCAgMTYzODQgICAgICBsbzAKZmU4MDo6MSVsbzAgICAgICAgICAgICAgICAg ICAgICAgIGxpbmsjNSAgICAgICAgICAgICAgICAgICAgICAgIFVIUyAgICAgICAgIDAgICAgICAg IDAgIDE2Mzg0ICAgICAgbG8wCmZmMDE6Mjo6LzMyICAgICAgICAgICAgICAgICAgICAgICBmZTgw OjoyMWM6MjNmZjpmZTk4OjJjNWQlYmZlMCBVICAgICAgICAgICAwICAgICAgICAwICAgMTUwMCAg ICAgYmZlMApmZjAxOjU6Oi8zMiAgICAgICAgICAgICAgICAgICAgICAgOjoxICAgICAgICAgICAg ICAgICAgICAgICAgICAgVSAgICAgICAgICAgMCAgICAgICAgMCAgMTYzODQgICAgICBsbzAKZmYw Mjo6LzE2ICAgICAgICAgICAgICAgICAgICAgICAgIDo6MSAgICAgICAgICAgICAgICAgICAgICAg ICAgIFVHUlMgICAgICAgIDAgICAgICAgIDAgIDE2Mzg0ICAgICAgbG8wCmZmMDI6OiViZmUwLzMy ICAgICAgICAgICAgICAgICAgICBmZTgwOjoyMWM6MjNmZjpmZTk4OjJjNWQlYmZlMCBVICAgICAg ICAgICAwICAgICAgICAwICAgMTUwMCAgICAgYmZlMApmZjAyOjolbG8wLzMyICAgICAgICAgICAg ICAgICAgICAgOjoxICAgICAgICAgICAgICAgICAgICAgICAgICAgVSAgICAgICAgICAgMCAgICAg ICAgMCAgMTYzODQgICAgICBsbzAK --001485f27fae62464f047c3bbc50--