From owner-freebsd-net@freebsd.org Fri Jul 3 09:10:29 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22F52993E15 for ; Fri, 3 Jul 2015 09:10:29 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE9E0118D; Fri, 3 Jul 2015 09:10:28 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [IPv6:2001:470:d39b:1f80:94b9:93c6:fed5:7b3] (unknown [IPv6:2001:470:d39b:1f80:94b9:93c6:fed5:7b3]) by venus.codepro.be (Postfix) with ESMTPSA id E52809DAC; Fri, 3 Jul 2015 11:10:23 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: radvd issue on CURRENT From: Kristof Provost In-Reply-To: <55964040.4050809@FreeBSD.org> Date: Fri, 3 Jul 2015 11:10:25 +0200 Cc: koobs@FreeBSD.org, freebsd-net@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: <5FBA0180-76F6-43A3-A6C7-860E74FB4682@FreeBSD.org> References: <7B00338E-6264-44FD-9A55-8E29C01467E7@FreeBSD.org> <5596192F.2050802@FreeBSD.org> <4BA4AF18-6CC7-48A9-8035-22B3E209257A@FreeBSD.org> <55964040.4050809@FreeBSD.org> To: "Andrey V. Elsukov" X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 09:10:29 -0000 > On 03 Jul 2015, at 09:56, Andrey V. Elsukov wrote: > can you test this patch instead: I=E2=80=99ll test it when I get home this evening. At first glance that looks like it=E2=80=99d fix things too. > Index: ip6_output.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- ip6_output.c (revision 284791) > +++ ip6_output.c (working copy) > @@ -2566,6 +2567,7 @@ ip6_setpktopt(int optname, u_char *buf, int len, = s > !IN6_IS_ADDR_UNSPECIFIED(&pktinfo->ipi6_addr)) { > struct in6_ifaddr *ia; >=20 > + in6_setscope(&pktinfo->ipi6_addr, ifp); That=E2=80=99ll have to be in6_setscope(&pktinfo->ipi6_addr, ifp, NULL); =E2=80=94=20 Kristof=