Re: pass M_CANFAIL to malloc() which use M_WAITOK but are tested for failure

2023-04-12 Thread Kevin Lo
On Thu, Apr 06, 2023 at 02:09:23PM +0200, Alexander Bluhm wrote: > > On Thu, Apr 06, 2023 at 02:58:56PM +0800, Kevin Lo wrote: > > The diff below adds M_CANFAIL to the flag passed to malloc() since we are > > able > > to fail gracefully. > > I would not call a return ENOMEM a gracefull fail. >

fix iwm/iwx updatechan callbacks

2023-04-12 Thread Stefan Sperling
The iwm_updatechan and iwx_updatechan callbacks are not reachable because they were never wired up. Only the iwn driver already has this callback pointer set as intended. With the patch below iwm/iwx should get triggered when an AP switches between 20MHz and 40/80MHz channel width, as indicated

Re: bgpctl network bulk add change

2023-04-12 Thread Theo Buehler
On Wed, Apr 12, 2023 at 06:23:18PM +0200, Claudio Jeker wrote: > The command order for bgpctl network bulk add is strange and as a result > soemthing like: > bgpctl network add 127.0.0.1 delete > is valid syntax with strange behaviour. It is actually: > bgpctl network bulk delete > >

bgpctl network bulk add change

2023-04-12 Thread Claudio Jeker
The command order for bgpctl network bulk add is strange and as a result soemthing like: bgpctl network add 127.0.0.1 delete is valid syntax with strange behaviour. It is actually: bgpctl network bulk delete So lets fix this mess and make bulk require add or delete and with that

bgpd first bunch of flowspec code

2023-04-12 Thread Claudio Jeker
This is the first big amount of flowspec specific code. It adds a new file (flowspec.c) which exposes basic API functions to work with flowspec. Right now apart from the regress test nothing uses these functions (but don't worry I have other diffs which make use of them). Flowspec encoding is

Re: chilepeso in units(1)

2023-04-12 Thread Jason McIntyre
On Wed, Apr 12, 2023 at 12:33:52PM +0200, Jan Stary wrote: > An apparent typo was introduced in > http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/units/units.lib.diff?r1=1.144=1.145=h > > Does nobody use units(1) on their Chilean vacation anymore? > > Jan > oops, that's one of mine.

Re: delete pltime and vltime

2023-04-12 Thread Florian Obser
On 2023-04-12 20:13 +09, Masato Asou wrote: > Hi, > > SIOCSIFALIFETIME_IN6 has been removed from sys/netinet6/in6_var.h with > the following commit: > > commit f487585d711456156cf95432fac5a11ff78440c8 > Author: stefan > Date: Sun Feb 28 07:15:34 2016 + > > Remove SIOCSIFALIFETIME_IN6

delete pltime and vltime

2023-04-12 Thread Masato Asou
Hi, SIOCSIFALIFETIME_IN6 has been removed from sys/netinet6/in6_var.h with the following commit: commit f487585d711456156cf95432fac5a11ff78440c8 Author: stefan Date: Sun Feb 28 07:15:34 2016 + Remove SIOCSIFALIFETIME_IN6 ioctl, as NetBSD did. As described in NetBSD

chilepeso in units(1)

2023-04-12 Thread Jan Stary
An apparent typo was introduced in http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/units/units.lib.diff?r1=1.144=1.145=h Does nobody use units(1) on their Chilean vacation anymore? Jan Index: units.lib === RCS file:

Re: lidaction on an M1 macbook

2023-04-12 Thread Jan Stary
> > aplsmc(4) provides support for the lid position sensor. Should that be mentioned in aplsmc(4)? Index: aplsmc.4 === RCS file: /cvs/src/share/man/man4/man4.arm64/aplsmc.4,v retrieving revision 1.2 diff -u -p -r1.2 aplsmc.4 ---

Re: lidaction on an M1 macbook

2023-04-12 Thread Jan Stary
> > o On arm64, add a machdep.lidaction sysctl(8) > > for aplsmc(4) Apple Silicon laptops. Should that be mentioned in the arm64 examples/sysctl.conf as on other such architectures? Index: etc/etc.arm64/sysctl.conf === RCS file: