Re: add PCI IDs for Thinkpad X1 Extreme Gen 3, enable WLAN

2021-04-20 Thread Greg Steuck
A nit below. Alexandre Ratchov writes: > On Thu, Apr 15, 2021 at 03:24:56PM +0200, Ivo Sbalzarini wrote: > Thanks for looking at this. Few comments: > > - the "PCI_VENDOR(this->subid) == PCI_VENDOR_LENOVO" compares the 16 > lower bits of the subid. It's not necessary because below we compare >

Re: Change umb(4) devclass from DV_DULL to DV_IFNET

2021-04-20 Thread Gerhard Roth
On 4/20/21 7:28 PM, Patrick Wildt wrote: Am Mon, Apr 19, 2021 at 10:25:39AM +0200 schrieb Tilo Stritzky: On 10/04/21 22:56 Tilo Stritzky wrote: umb interfaces advertise themselves as generic devices. Network makes a lot more sense, I think. tested on amd64. Having seen no response on this on

Re: have bpf kq events fire when the interface goes away

2021-04-20 Thread David Gwynne
On Wed, Apr 21, 2021 at 10:21:32AM +1000, David Gwynne wrote: > if you have a program that uses kq (or libevent) to wait for bytes to > read off an idle network interface via /dev/bpf and that interface > goes away, the program doesnt get woken up. this is because the kq > read filter in bpf only c

have bpf kq events fire when the interface goes away

2021-04-20 Thread David Gwynne
if you have a program that uses kq (or libevent) to wait for bytes to read off an idle network interface via /dev/bpf and that interface goes away, the program doesnt get woken up. this is because the kq read filter in bpf only checks if there ares bytes available. because a detached interface neve

mg: replace-regexp

2021-04-20 Thread Mark Lumsden
This diff adds a non-interactive version of mg's query-replace-regexp function called replace-regexp. Unfortunately query-replace-regexp can't be used in a startup file. Ok? Index: def.h === RCS file: /cvs/src/usr.bin/mg/def.h,v r

Re: ntpd offset loop refactoring

2021-04-20 Thread Alexander Bluhm
I got a positive test report from Paul de Weerd. Anyone to ok it? On Thu, Mar 18, 2021 at 01:06:49PM +0100, Alexander Bluhm wrote: > Hi, > > While hunting a bug in ntpd offset handling, I found some things > that could be improved. > > Call the index of the offset loops "shift" consistently. >

Re: Change umb(4) devclass from DV_DULL to DV_IFNET

2021-04-20 Thread Patrick Wildt
Am Mon, Apr 19, 2021 at 10:25:39AM +0200 schrieb Tilo Stritzky: > On 10/04/21 22:56 Tilo Stritzky wrote: > > umb interfaces advertise themselves as generic devices. > > Network makes a lot more sense, I think. > > tested on amd64. > > Having seen no response on this one, I'ld like to expand a lit

Re: uvm_page_physload: use km_alloc(9)

2021-04-20 Thread Scott Bennett
On Thu, 15 Apr 2021 14:00:18 +0200, Martin Pieuchot wrote: > On 13/04/21(Tue) 02:05, Alexander Bluhm wrote: > > On Mon, Mar 22, 2021 at 11:50:00AM +0100, Mark Kettenis wrote: > > > > Date: Mon, 22 Mar 2021 11:29:52 +0100 > > > > From: Martin Pieuchot > > > > > > > > Convert the last MI uvm_km_

Re: uvm_page_physload: use km_alloc(9)

2021-04-20 Thread Mark Kettenis
> Date: Thu, 15 Apr 2021 14:00:18 +0200 > From: Martin Pieuchot > > On 13/04/21(Tue) 02:05, Alexander Bluhm wrote: > > On Mon, Mar 22, 2021 at 11:50:00AM +0100, Mark Kettenis wrote: > > > > Date: Mon, 22 Mar 2021 11:29:52 +0100 > > > > From: Martin Pieuchot > > > > > > > > Convert the last MI u

Re: smtpd: more unused code

2021-04-20 Thread Todd C . Miller
On Tue, 20 Apr 2021 18:38:08 +0200, Eric Faurot wrote: > On Sun, Apr 11, 2021 at 01:54:32PM +0200, Eric Faurot wrote: > > Certificate verification is done by libtls. The former code is not used > > anymore and can be unplugged. > > Anyone willing to ok this? OK millert@ - todd

Re: smtpd: more unused code

2021-04-20 Thread Eric Faurot
On Sun, Apr 11, 2021 at 01:54:32PM +0200, Eric Faurot wrote: > Certificate verification is done by libtls. The former code is not used > anymore and can be unplugged. Anyone willing to ok this? > Eric. > > Index: dispatcher.c > ===

rpki-client reduce log noise

2021-04-20 Thread Claudio Jeker
Switch some warnings into logx calls to reduce noise during runtime. Should help to locate real errors if run without -v. -- :wq Claudio Index: rrdp.c === RCS file: /cvs/src/usr.sbin/rpki-client/rrdp.c,v retrieving revision 1.6 diff

Re: rpki-client http keep-alive support

2021-04-20 Thread Job Snijders
On Tue, Apr 20, 2021 at 10:27:51AM +0200, Claudio Jeker wrote: > On Fri, Apr 16, 2021 at 12:21:56PM +0200, Claudio Jeker wrote: > > This diff changes the http module to support keep-alive. > > It splits requests (for a resource) from connections (to a server). > > When a request is received the cod

Re: rpki-client http keep-alive support

2021-04-20 Thread Claudio Jeker
On Fri, Apr 16, 2021 at 12:21:56PM +0200, Claudio Jeker wrote: > This diff changes the http module to support keep-alive. > It splits requests (for a resource) from connections (to a server). > When a request is received the code tries to first use a IDLE connection, > if none is around a new conne