Re: macppc bsd.mp pmap's hash lock

2021-05-18 Thread George Koehler
On Thu, 13 May 2021 02:20:45 -0400 George Koehler wrote: > My last diff (11 May 2021) still has a potential problem with memory > barriers. I will mail a new diff if I think of a fix. Here's my new diff. It is a copy of what I sent to ppc@ a moment ago. I would ask, "Is it ok to commit?", but

[patch] tcpdump: Sync DNS types with IANA

2021-05-18 Thread Matthew Martin
Sync the DNS types with IANA[1] and upstream[2]. With this the Type65 queries show up as HTTPS. Removed the UNSPECA type parsing as IANA has that query type number assigned to NID now. Also added a const on ns_class2str. 1: https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml 2:

Re: [External] : Re: parallel forwarding vs. bridges

2021-05-18 Thread Alexandr Nedvedicky
Hello, just for the record... > > in current tree the ether_input() is protected by NET_LOCK(), which is > > grabbed > > by caller as a writer. bluhm's diff changes NET_LOCK() readlock, so > > ether_input() can run concurrently. Switching NET_LOCK() to r-lock has > > implications on smr read s

rpki-client 7.1 released

2021-05-18 Thread Sebastian Benoit
rpki-client 7.1 has just been released and will be available in the rpki-client directory of any OpenBSD mirror soon. rpki-client is a FREE, easy-to-use implementation of the Resource Public Key Infrastructure (RPKI) for Relying Parties (RP) to facilitate validation of the Route Origin of a BGP an

Re: snmpd rename context to pdutype

2021-05-18 Thread Jan Klemkow
On Fri, May 07, 2021 at 04:18:50PM +0200, Martijn van Duren wrote: > When moving the traphandler to the snmpe process I overlooked the fact > that "type" is being saved inside the switch statement under the > sm_context name. RFC3411 talks about pduType, and the name context means > something compl

bgpd extend capability support (add-path, enhanced rr)

2021-05-18 Thread Claudio Jeker
bgpd(8) will soon support ADD-PATH (RFC7911) and enhanced route refresh (RFC7313). This is the frist step toward this. It add the capability parsers, extends the capability struct and adds the capability negotiation bits. The route refresh parser and generator are extended to support the BoRR and E

Add f_modify and f_process callbacks to socket filterops

2021-05-18 Thread Visa Hankala
This diff adds f_modify and f_process callbacks to socket event filters. As a result, socket events are handled using the non-legacy paths in filter_modify() and filter_process() of kern_event.c This a step toward MP-safety. However, everything still runs under the kernel lock. The change has thre

Re: snmpd rename context to pdutype

2021-05-18 Thread Martijn van Duren
ping On Fri, 2021-05-07 at 16:18 +0200, Martijn van Duren wrote: > When moving the traphandler to the snmpe process I overlooked the fact > that "type" is being saved inside the switch statement under the > sm_context name. RFC3411 talks about pduType, and the name context means > something comple

bgpd adjust graceful restart capability negotiation

2021-05-18 Thread Claudio Jeker
When I adjusted the capability negotiation to check both sides for presence I made the graceful restart capability lose all AFI/SAFI elements for the peer capabilities. This can be viewed with bgpctl show nei: e.g Description: beznau-1 BGP version 4, remote router-id 192.168.0.252 BGP state

Re: Use atomic op for UVM map refcount

2021-05-18 Thread Vitaliy Makkoveev
On Tue, May 18, 2021 at 01:24:42PM +0200, Martin Pieuchot wrote: > On 18/05/21(Tue) 12:07, Mark Kettenis wrote: > > > Date: Tue, 18 May 2021 12:02:19 +0200 > > > From: Martin Pieuchot > > > > > > This allows us to not rely on the KERNEL_LOCK() to check reference > > > counts. > > > > > > Also re

Re: Use atomic op for UVM map refcount

2021-05-18 Thread Martin Pieuchot
On 18/05/21(Tue) 12:07, Mark Kettenis wrote: > > Date: Tue, 18 May 2021 12:02:19 +0200 > > From: Martin Pieuchot > > > > This allows us to not rely on the KERNEL_LOCK() to check reference > > counts. > > > > Also reduces differences with NetBSD and shrink my upcoming `vmobjlock' > > diff. > > >

OpenIKED 6.9.0 Released

2021-05-18 Thread Tobias Heider
OpenIKED 6.9.0 has just been released. It will be arriving in the OpenIKED directory of your local OpenBSD mirror soon. OpenIKED is a free, permissively licensed Internet Key Exchange (IKEv2) implementation, developed as part of the OpenBSD project. It is intended to be a lean, secure and interope

bgpd upgrade to RFC6793

2021-05-18 Thread Claudio Jeker
Our four-byte AS support dates back to the days of the original draft. Since then a new RFC 6793 got released that adjusted the error handling a bit. RFC 6793 just treats any error on AS4_PATH attribute with attribute drop with the hope that the AS_PATH is better. The reason is a bit questionable:

Re: Use atomic op for UVM map refcount

2021-05-18 Thread Mark Kettenis
> Date: Tue, 18 May 2021 12:02:19 +0200 > From: Martin Pieuchot > > This allows us to not rely on the KERNEL_LOCK() to check reference > counts. > > Also reduces differences with NetBSD and shrink my upcoming `vmobjlock' > diff. > > ok? Shouldn't we make ref_count volatile in that case? > Ind

Use atomic op for UVM map refcount

2021-05-18 Thread Martin Pieuchot
This allows us to not rely on the KERNEL_LOCK() to check reference counts. Also reduces differences with NetBSD and shrink my upcoming `vmobjlock' diff. ok? Index: uvm/uvm_map.c === RCS file: /cvs/src/sys/uvm/uvm_map.c,v retrieving

Re: Regarding May 17 patch

2021-05-18 Thread Florian Obser
No, EVBUFFER_LENGTH(clt->clt_srvevb) will always be 8 for an FCGI_END_REQUEST, see: http://www.mit.edu/~yandros/doc/specs/fcgi-spec.html#S5.5 (Assuming the fcgi server is well behaved). On 2021-05-18 09:12 +02, Matthias Pressfreund wrote: > Hi Florian, isn't this what you actually wanted? > > Inde