Re: Use SMR instead of SRP list in rtsock.c

2022-07-01 Thread Claudio Jeker
On Thu, Jun 30, 2022 at 03:46:35PM +, Visa Hankala wrote: > On Thu, Jun 30, 2022 at 11:51:52AM +0200, Claudio Jeker wrote: > > After discussing this with mpi@ and jmatthew@ we came to the conclusion > > that we need to smr_barrier() before refcnt_finalize() to ensure that no > > other CPU is be

[Patch] httpd(8) - Add CORS header

2022-07-01 Thread David Rinehart
This diff adds the ability to specify a CORS header for httpd(8) static content. All feedback appreciated - Thanks, in advance! -- Index: usr.sbin/httpd/httpd.conf.5 === RCS file: /cvs/src/usr.sbin/httpd/httpd.conf.5,v retrieving re

Remove device poll functions

2022-07-01 Thread Visa Hankala
Remove unused device poll functions. This also removes unneeded includes of and from the kernel. Some includes of are removed as well, but another cleanup will come related to that header. After this, most of the remnants of the old poll machinery can be removed. OK? Index: arch/macppc/dev/a

Re: Use SMR instead of SRP list in rtsock.c

2022-07-01 Thread Visa Hankala
On Fri, Jul 01, 2022 at 09:59:11AM +0200, Claudio Jeker wrote: > On Thu, Jun 30, 2022 at 03:46:35PM +, Visa Hankala wrote: > > On Thu, Jun 30, 2022 at 11:51:52AM +0200, Claudio Jeker wrote: > > > After discussing this with mpi@ and jmatthew@ we came to the conclusion > > > that we need to smr_b

Re: slaacd(8): state machine rewrite, improved roaming support

2022-07-01 Thread Florian Obser
this one works better on real wifi, which can transition down -> down diff --git engine.c engine.c index db6d619abf1..4703c3ec7c7 100644 --- engine.c +++ engine.c @@ -100,23 +100,13 @@ enum if_state { IF_DOWN, - IF_DELAY, - IF_PROBE, - IF_IDLE, - IF_DEAD, -}; - -

Re: em(4) multiqueue

2022-07-01 Thread Hrvoje Popovski
On 28.6.2022. 15:11, Jonathan Matthew wrote: > This adds the (not quite) final bits to em(4) to enable multiple rx/tx queues. > Note that desktop/laptop models (I218, I219 etc.) do not support multiple > queues, > so this only really applies to servers and network appliances (including > APU2). >

Re: a few fixes for cat bugs

2022-07-01 Thread Theo Buehler
On Sat, Jul 02, 2022 at 03:15:21AM +0100, Leah Rowe wrote: > > Hi, > > I've been playing around with a few OpenBSD userland programs. By that, > I mean I've been studying them extensively. I'm working on creating a > busybox-like userland for Linux with musl libc, and I need quality code > so I d

Re: Remove device poll functions

2022-07-01 Thread Jonathan Gray
On Fri, Jul 01, 2022 at 02:06:46PM +, Visa Hankala wrote: > Remove unused device poll functions. > > This also removes unneeded includes of and > from the kernel. Some includes of are removed as well, > but another cleanup will come related to that header. > > After this, most of the remna

Re: Remove device poll functions

2022-07-01 Thread Visa Hankala
On Sat, Jul 02, 2022 at 03:23:30PM +1000, Jonathan Gray wrote: > a few more could be removed? > > arch/sh/dev/scif.c:scifpoll(dev_t dev, int events, struct proc *p) > > kern/tty_tty.c:cttypoll(dev_t dev, int events, struct proc *p) > sys/tty.h:int cttypoll(dev_t, int, struct proc *); Augmented

Re: a few fixes for cat bugs

2022-07-01 Thread Otto Moerbeek
On Sat, Jul 02, 2022 at 03:15:21AM +0100, Leah Rowe wrote: > > Hi, > > I've been playing around with a few OpenBSD userland programs. By that, > I mean I've been studying them extensively. I'm working on creating a > busybox-like userland for Linux with musl libc, and I need quality code > so I