NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/52554: IPv6 connections not routing to default gateway



On Tue, Oct 03, 2017 at 11:29:50AM -0600, Roy Bixler wrote:
> On Tue, Oct 03, 2017 at 05:25:57PM +0100, Roy Marples wrote:
> > On 03/10/2017 17:13, Roy Bixler wrote:
> > > I changed my mind and opted to get the pkgsrc-current version and
> > > apply your patch to it.  Good news.  It fixed the problem in both
> > > NetBSD-current and NetBSD-8 (where the patch also applied cleanly.)
> > 
> > Awesome!
> > 
> > I'll release rc3 with these patches soon and add it to NetBSD and pkgsrc.
> 
> I misspoke about the patch applying cleanly to NetBSD-8.  I actually
> just used pkgsrc-current + patch on both.
> 
> That said, after checking out NetBSD-8, the patch mostly applied with
> some fuzz.  There was only one .rej:
> 
> ipv6nd.h.rej:
> 
> @@ -93,9 +93,6 @@
>      const struct in6_addr *addr, unsigned int flags);
>  struct ipv6_addr *ipv6nd_findaddr(struct dhcpcd_ctx *,
>      const struct in6_addr *, unsigned int);
> -void ipv6nd_freedrop_ra(struct ra *, int);
> -#define ipv6nd_free_ra(ra) ipv6nd_freedrop_ra((ra),  0)
> -#define ipv6nd_drop_ra(ra) ipv6nd_freedrop_ra((ra),  1)
>  ssize_t ipv6nd_free(struct interface *);
>  void ipv6nd_expirera(void *arg);
>  int ipv6nd_hasra(const struct interface *);
> 
> I'll try bulding NetBSD-8 with the patch, just to see what happens.

When I applied the changes in the above .rej file and built NetBSD-8
from source, the resulting distribution with patched dhcpcd works as
expected.

-- 
Roy Bixler <rcbixler%nyx.net@localhost>
"The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment."
-- Richard P. Feynman



Home | Main Index | Thread Index | Old Index