daily CVS update output

2020-11-11 Thread NetBSD source update
Updating src tree: P src/distrib/sets/lists/base/mi P src/etc/mtree/NetBSD.dist.base P src/external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c P src/external/cddl/osnet/sys/kern/kmem.c P src/games/warp/Makefile P src/games/warp/config.h P src/games/warp/config.h.SH P src/games/warp/config.sh P

Re: diskless sparc locks up under memory pressure

2020-11-11 Thread Chuck Silvers
On Mon, Nov 09, 2020 at 11:21:56AM +1100, Paul Ripke wrote: > On Sat, Nov 07, 2020 at 06:33:26PM +0300, Valery Ushakov wrote: > > I've upgraded my Krups (64MB RAM, diskless) to 9.99.75 as of Nov 6 and > > the machine is locking up at boot time in rc.d/fccache. If I disable > > fccache in rc.conf

Re: Using wg(4) with a commerical VPN provider

2020-11-11 Thread Christos Zoulas
In article <3b48572b-2b4e-40fa-98bf-403729c2e...@me.com>, Jason Thorpe wrote: > >> On Nov 10, 2020, at 5:49 PM, Brad Spencer wrote: >> >> --- sys/net/if_wg.c.DIST 2020-10-26 10:36:30.391354264 -0400 >> +++ sys/net/if_wg.c 2020-10-30 19:13:46.910323221 -0400 >> @@ -98,8 +98,8 @@ >>

Re: Using wg(4) with a commerical VPN provider

2020-11-11 Thread Paul Goyette
On Wed, 11 Nov 2020, Jason Thorpe wrote: On Nov 10, 2020, at 5:49 PM, Brad Spencer wrote: --- sys/net/if_wg.c.DIST2020-10-26 10:36:30.391354264 -0400 +++ sys/net/if_wg.c 2020-10-30 19:13:46.910323221 -0400 @@ -98,8 +98,8 @@ #include #include -#ifdef INET6 #include +#ifdef

Re: Using wg(4) with a commerical VPN provider

2020-11-11 Thread Brad Spencer
Jason Thorpe writes: [snip] >> wg_get_so_by_af(struct wg_softc *wg, const int af) >> { >> >> +#if defined(INET) && defined(INET6) >> return (af == AF_INET) ? wg->wg_so4 : wg->wg_so6; >> +#else >> +#ifdef INET >> +return wg->wg_so4; >> +#endif >> +#ifdef INET6 >> +return

Re: Using wg(4) with a commerical VPN provider

2020-11-11 Thread Jason Thorpe
> On Nov 10, 2020, at 5:49 PM, Brad Spencer wrote: > > --- sys/net/if_wg.c.DIST 2020-10-26 10:36:30.391354264 -0400 > +++ sys/net/if_wg.c 2020-10-30 19:13:46.910323221 -0400 > @@ -98,8 +98,8 @@ > #include > #include > > -#ifdef INET6 > #include > +#ifdef INET6 > #include > #include

Re: Using wg(4) with a commerical VPN provider

2020-11-11 Thread Brad Spencer
Roy Marples writes: > On 11/11/2020 01:49, Brad Spencer wrote: >> @@ -2352,6 +2361,7 @@ >> if (*af == AF_INET) { >> packet_len = ntohs(ip->ip_len); >> } else { >> +#ifdef INET6 >> const struct ip6_hdr *ip6; >> >> if

Re: Using wg(4) with a commerical VPN provider

2020-11-11 Thread Roy Marples
On 11/11/2020 01:49, Brad Spencer wrote: @@ -2352,6 +2361,7 @@ if (*af == AF_INET) { packet_len = ntohs(ip->ip_len); } else { +#ifdef INET6 const struct ip6_hdr *ip6; if (__predict_false(decrypted_len < sizeof(struct ip6_hdr))) Might be