ipsec acquire refcount fix

2022-06-14 Thread Alexander Bluhm
Hi, I made a little mistake when adding acquire refcount. The timeout does not decrement the counter to 0 properly. We have one reference count for the lists, and one for the timeout handler. When the timout fires, it has to decrement the referenc to itself. Then the ipa is removed from the li

OpenBGPD 7.4 released

2022-06-14 Thread Claudio Jeker
We have released OpenBGPD 7.4, which will be arriving in the OpenBGPD directory of your local OpenBSD mirror soon. This release includes the following changes to the previous release: * Implement max-communities filter to limit the number of allowed communities, ext-communities and larg

bgpd more kroute cleanup

2022-06-14 Thread Claudio Jeker
This diff does introduce a new flag for routes that have been inserted into the FIB. Now I actually renamed the F_BGPD_INSERTED flag to F_BGPD and reused F_BGPD_INSERTED as this new flag. Adjust and use the send_rtmsg() return value to set F_BGPD_INSERTED if the route message was successfully sent.

Re: bgpd more kroute cleanup

2022-06-14 Thread Theo Buehler
On Tue, Jun 14, 2022 at 06:36:13PM +0200, Claudio Jeker wrote: > This diff does introduce a new flag for routes that have been inserted > into the FIB. Now I actually renamed the F_BGPD_INSERTED flag to F_BGPD > and reused F_BGPD_INSERTED as this new flag. > Adjust and use the send_rtmsg() return v

Re: ipsec acquire refcount fix

2022-06-14 Thread Vitaliy Makkoveev
> On 14 Jun 2022, at 15:47, Alexander Bluhm wrote: > > Hi, > > I made a little mistake when adding acquire refcount. The timeout > does not decrement the counter to 0 properly. > > We have one reference count for the lists, and one for the timeout > handler. When the timout fires, it has to d

pfctl reports back a table as being always created/added

2022-06-14 Thread Alexandr Nedvedicky
Hello, Jason Mc Intyre (jmc@) reported a bug earlier today reaching me by email off-list. Let me quote from Jason's email: i already have a pf table, adding an address tells me i have created a table. even though the table already existed: # pfctl -tbrutes -Tshow | wc

Re: [PATCH 1/1] drm/amd/display: Fix memory leak reported by coverity

2022-06-14 Thread Greg Steuck
Thanks for sending this fix Xiaohui. The upstream patch is more complete https://github.com/torvalds/linux/commit/7b89bf83181363a84f86da787159ddbbef505b8c I believe the fixes will arrive via a normal update process unless somebody knows a reason to apply this one specifically out of schedule. Xi

[PATCH 1/1] drm/fb-helper: Fix clip rectangle height

2022-06-14 Thread Xiaohui Zhang
Computing the clip rectangle is prone to off-by-one errors when writes happen near the end of a memory page. Point the end of the memory area to the first trailing byte, so that (end - start) returns the area's length. Signed-off-by: Xiaohui Zhang --- sys/dev/pci/drm/drm_fb_helper.c | 2 +- 1 fi

pluart(4): hardware console baudrate

2022-06-14 Thread Anton Lindqvist
Hi, pluart(4) does not report the correct baudrate for the hardware console but instead defaults to 38400. This in turn causes the same baudrate to end up in /etc/ttys during installation. Note that this is not a problem as of now since pluart does not support changing the baudrate just yet, I have