Change bgpd_addr encoding of VPN v4 and v6 addresses

2021-01-05 Thread Claudio Jeker
While changing log_addr() I noticed that struct bgpd_addr could benefit from changing the encoding of AID_VPN_IPv4 and AID_VPN_IPv6 addrs. Instead of having independent route distinguishers and labelstacks use common fields for those and use the v4 and v6 addresses for the prefix. This is a bit

Re: Adding -p to pr(1)

2021-01-05 Thread Stuart Henderson
On 2021/01/05 00:27, Andras Farkas wrote: > Ping. > I'm hoping someone can review the diff adding -p to pr(1). It's been a few weeks, so probably worth sending the diff out again with the manpage change regenerated against -current. There are some places where you added lines >80 columns

Re: diff: tcp ack improvement

2021-01-05 Thread Claudio Jeker
On Tue, Jan 05, 2021 at 10:16:04AM +0100, Jan Klemkow wrote: > On Wed, Dec 23, 2020 at 11:59:13AM +, Stuart Henderson wrote: > > On 2020/12/17 20:50, Jan Klemkow wrote: > > > ping > > > > > > On Fri, Nov 06, 2020 at 01:10:52AM +0100, Jan Klemkow wrote: > > > > bluhm and I make some network

Hiding the vim user in amdgpu_vcn.c (typo in comment)

2021-01-05 Thread Stefan Hagen
Hi, I can totally relate to this one. Found after a conversation about muscle memory and grepping the source tree for ":wq". Best Regards, Stefan Index: ./sys/dev/pci/drm/amd/amdgpu/amdgpu_vcn.c === RCS file:

Re: diff: tcp ack improvement

2021-01-05 Thread Jan Klemkow
On Wed, Dec 23, 2020 at 11:59:13AM +, Stuart Henderson wrote: > On 2020/12/17 20:50, Jan Klemkow wrote: > > ping > > > > On Fri, Nov 06, 2020 at 01:10:52AM +0100, Jan Klemkow wrote: > > > bluhm and I make some network performance measurements and kernel > > > profiling. > > I've been running

Re: pf route-to issues

2021-01-05 Thread David Gwynne
On Mon, Jan 04, 2021 at 06:37:54PM +0100, Alexander Bluhm wrote: > On Mon, Jan 04, 2021 at 11:21:50PM +1000, David Gwynne wrote: > > this chunk pops out as a standalone change. > > > > having pf_find_state() return PF_PASS here means the callers short > > circuit and let the packet go through

Re: Hiding the vim user in amdgpu_vcn.c (typo in comment)

2021-01-05 Thread Ricardo Mestre
Hi, This issue is present in upstream [0], please take it with them. [0] https://sourcegraph.com/github.com/torvalds/linux@30bb5572ce7a8710fa9ea720b6ecb382791c9800/-/blob/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c#L131 On 13:21 Tue 05 Jan , Stefan Hagen wrote: > Hi, > > I can totally relate

ssh_config(5) man page improvement for RemoteCommand

2021-01-05 Thread Grégoire Jadi
Hi, When both RemoteCommand and ssh command are provided, the connection fails with: Cannot execute command-line and remote command. Though the message is clear, I was puzzled because I couldn't find any information in the man pages. This patch adds a note in ssh_config(5). diff --git

Set klist lock for sockets

2021-01-05 Thread Visa Hankala
This diff sets klist lock for sockets. Since sockets use custom lock functions, the diff introduces socket_klistops for use with the klist interface. In soo_kqfilter(), the diff adds socket locking for accessing so_options and changing the klist. The patch replaces the use of the SB_KNOTE flag

Increase timeout length for VMs trying to fully shutdown

2021-01-05 Thread Tracey Emery
Hello tech@, Some of us have been having shutdown issues with our VMs on OpenBSDAms. I tracked down the problem to too short of a timeout for the shutdown event. If there are an additional 1 or 2 package daemons running on the instance, the timeout triggers before the VM has shutdown the package

snmpd(8): Remove traphandler process attempt 2

2021-01-05 Thread Martijn van Duren
With the traphandler code beaten into submission I was able to keep the traphandler process removal diff more manageable. This diff does a couple things. - "listen on" now accepts any combination of read, write and notify. This combination removes the traphandler dependency on the generic

video(4) multiple opens

2021-01-05 Thread Jeremie Courreges-Anglas
I hit a weird failure with firefox and BigBlueButton (https://bigbluebutton.org/) where firefox can't use my webcam. video(1) works, same for other webrtc sites in firefox, eg meet.jit.si. ktrace shows that a single firefox process tries to open /dev/video0 more than once, and that fails with

Re: Improve vi(1) recovery

2021-01-05 Thread trondd
trondd wrote: > > While investigating an occasional crash when recovering a file with 'vi -r' > after a power failure, I noticed that the recovery files are actually never > updated during an editing session. The recovery files are created upon > initial modification of the file which saves

Re: ssh_config(5) man page improvement for RemoteCommand

2021-01-05 Thread Jason McIntyre
On Tue, Jan 05, 2021 at 08:11:51PM +0100, Gr??goire Jadi wrote: > Hi, > > When both RemoteCommand and ssh command are provided, the connection > fails with: > > Cannot execute command-line and remote command. > > Though the message is clear, I was puzzled because I couldn't find any >

Re: ssh_config(5) man page improvement for RemoteCommand

2021-01-05 Thread Grégoire Jadi
Jason McIntyre writes: > On Tue, Jan 05, 2021 at 08:11:51PM +0100, Gr??goire Jadi wrote: > >> Hi, >> >> When both RemoteCommand and ssh command are provided, the connection >> fails with: >> >> Cannot execute command-line and remote command. >> >> Though the message is clear, I was

Re: Increase timeout length for VMs trying to fully shutdown

2021-01-05 Thread Mike Larkin
On Tue, Jan 05, 2021 at 12:49:29PM -0700, Tracey Emery wrote: > Hello tech@, > > Some of us have been having shutdown issues with our VMs on OpenBSDAms. > I tracked down the problem to too short of a timeout for the shutdown > event. > > If there are an additional 1 or 2 package daemons running on