nd6 or the last MH_ALIGN reference

2018-12-04 Thread Claudio Jeker
So netinet6/nd6_nbr.c references MH_ALIGN() in two comments. Instead of aligning the packet to the back of the mbuf, the functions just shift it by max_linkhdr. In most cases this should be good enough but esp. when packets move over tunnels the additional headers will not fit into the packet (resu

Re: ldapd, fix warnings when compiling with gcc

2018-12-04 Thread Philip Guenther
On Tue, Dec 4, 2018 at 5:40 AM Claudio Jeker wrote: > Gcc is unhappy about the void * usage in printf: > search.c:325: warning: format '%s' expects type 'char *', but argument 2 > has type 'void *' > search.c:345: warning: format '%.*s' expects type 'char *', but argument 3 > has type 'void *' >

wstpad: counting vs timing

2018-12-04 Thread Ulf Brosziewski
This patch removes a loose end in the filter mechanisms of wstpad; it's related to the one that was fixed a few weeks ago. In order to determine whether a touch is moving stably, the driver counts how often its position updates match, roughly, the same direction. The method works as intended, but

Re: bgpd, network add broken with rdomains ?

2018-12-04 Thread Julien Dhaille
Thank you Denis, problem solved ! Le 03/12/2018 à 21:26, Denis Fondras a écrit : > On Mon, Dec 03, 2018 at 09:19:10PM +0100, Denis Fondras wrote: >> On Mon, Dec 03, 2018 at 05:59:26PM +0100, Julien Dhaille wrote: >>> Hi. I am using bgpd within a rdomain (1). >>> After the upgrade to 6.4 stable, I

Re: vmd: fake netboot for auto_install

2018-12-04 Thread Carlos Cardenas
On Tue, Dec 04, 2018 at 01:19:46PM +0100, Claudio Jeker wrote: > I want to be able to build vmd images more or less automatically. > This is why I added 'vmctl wait' and this here is the next step. > It allows to boot bsd.rd and pass the needed info to the kernel that the > system thinks it was PXE

Re: bgpd, network add broken with rdomains ?

2018-12-04 Thread Claudio Jeker
On Tue, Dec 04, 2018 at 10:06:19PM +0100, Julien Dhaille wrote: > Thank you Denis, problem solved ! Btw. Denis, this diff is OK claudio@ > Le 03/12/2018 à 21:26, Denis Fondras a écrit : > > On Mon, Dec 03, 2018 at 09:19:10PM +0100, Denis Fondras wrote: > >> On Mon, Dec 03, 2018 at 05:59:26PM +0

Re: bgpd, network add broken with rdomains ?

2018-12-04 Thread Julien Dhaille
Thank you Denis, problem solved ! Le 03/12/2018 à 21:26, Denis Fondras a écrit : > On Mon, Dec 03, 2018 at 09:19:10PM +0100, Denis Fondras wrote: >> On Mon, Dec 03, 2018 at 05:59:26PM +0100, Julien Dhaille wrote: >>> Hi. I am using bgpd within a rdomain (1). >>> After the upgrade to 6.4 stable, I

Re: pvclock(4)

2018-12-04 Thread johnw
Reyk Floeter 於 2018-12-04 22:14 寫到: On Tue, Dec 04, 2018 at 05:43:48AM -0800, Chris Cappuccio wrote: Of course printf instead of panic for testers Oh, right, thanks! @john: Does this "slightly less simple" diff work for you? Hi Reyk, Yes, your patch also work for me, I can boot without m

Re: pvclock(4)

2018-12-04 Thread Reyk Floeter
On Tue, Dec 04, 2018 at 05:43:48AM -0800, Chris Cappuccio wrote: > Of course printf instead of panic for testers > Oh, right, thanks! @john: Does this "slightly less simple" diff work for you? @phessler, Chris: Maybe we should get this fix tested and in, wait for reports, and I can use the ti

Re: httpd server configuration evaluation bug

2018-12-04 Thread Florian Obser
anyone? On Fri, Nov 30, 2018 at 10:16:45AM +0100, Florian Obser wrote: > On Fri, Oct 26, 2018 at 03:08:11PM -0600, Tracey Emery wrote: > > On Mon, Jul 30, 2018 at 10:24:03AM -0600, Base Pr1me wrote: > > > Sorry, this time with the correct diff. > > > > > > On 7/25/18 4:15 PM, Base Pr1me wrote: >

ldapd, fix warnings when compiling with gcc

2018-12-04 Thread Claudio Jeker
Gcc is unhappy about the void * usage in printf: search.c:325: warning: format '%s' expects type 'char *', but argument 2 has type 'void *' search.c:345: warning: format '%.*s' expects type 'char *', but argument 3 has type 'void *' search.c:365: warning: format '%s' expects type 'char *', but ar

vmd: fake netboot for auto_install

2018-12-04 Thread Claudio Jeker
I want to be able to build vmd images more or less automatically. This is why I added 'vmctl wait' and this here is the next step. It allows to boot bsd.rd and pass the needed info to the kernel that the system thinks it was PXE booted and so the installer will start an auto_install automatically.

Re: pvclock(4)

2018-12-04 Thread Reyk Floeter
On Tue, Dec 04, 2018 at 12:46:06PM +0100, Peter Hessler wrote: > On 2018 Dec 03 (Mon) at 16:56:10 -0800 (-0800), Chris Cappuccio wrote: > :Reyk Floeter [r...@openbsd.org] wrote: > :> > :> Yes, KVM???s stable bit is not a reliable indication as it is seems to > depend on the capabilities of the KVM

Re: pvclock(4)

2018-12-04 Thread Reyk Floeter
On Mon, Dec 03, 2018 at 04:56:10PM -0800, Chris Cappuccio wrote: > Reyk Floeter [r...@openbsd.org] wrote: > > > > Yes, KVM???s stable bit is not a reliable indication as it is seems to > > depend on the capabilities of the KVM version and not the actual > > availability of the feature on the part

Re: pvclock(4)

2018-12-04 Thread Peter Hessler
On 2018 Dec 03 (Mon) at 16:56:10 -0800 (-0800), Chris Cappuccio wrote: :Reyk Floeter [r...@openbsd.org] wrote: :> :> Yes, KVM???s stable bit is not a reliable indication as it is seems to depend on the capabilities of the KVM version and not the actual availability of the feature on the particula

m_align() and other cleanup in carp(4)

2018-12-04 Thread Claudio Jeker
Use m_align() in carp(4) and while there reorder the code a bit. There is no need to set pkthdr values to 0, that is done my MGETHDR(). Make the IPv4 and IPv6 code use the same order by which stuff gets set. OK? -- :wq Claudio Index: sys/netinet/ip_carp.c

Re: dev/fdt/sxi{mmc,twi}.c: better english - err printf()s s/can't to/failed to/

2018-12-04 Thread Mark Kettenis
> Date: Tue, 4 Dec 2018 11:53:57 +0200 > From: Artturi Alm > > Hi, > > spotted these while looking at x_attach() printf()s for something else. Thanks, I unified all these messages to "can't establish interrupt". > diff --git a/sys/dev/fdt/sximmc.c b/sys/dev/fdt/sximmc.c > index eb5cf7f353e..9f

dev/fdt/sxi{mmc,twi}.c: better english - err printf()s s/can't to/failed to/

2018-12-04 Thread Artturi Alm
Hi, spotted these while looking at x_attach() printf()s for something else. -Artturi diff --git a/sys/dev/fdt/sximmc.c b/sys/dev/fdt/sximmc.c index eb5cf7f353e..9fa831d955a 100644 --- a/sys/dev/fdt/sximmc.c +++ b/sys/dev/fdt/sximmc.c @@ -418,7 +418,7 @@ sximmc_attach(struct device *parent, stru

Re: split ether_output up into resolution, encapsulation, and output

2018-12-04 Thread Claudio Jeker
On Fri, Nov 30, 2018 at 12:21:11PM +1000, David Gwynne wrote: > i have a plan to allow virtual interfaces (eg, vlan, etherip, etc) to > provide their own output functions so they can bypass the ifq machinery > and push the packet onto the underlying layer directly. > > they'll still need to get an