Re: patch: if_iwx.c add support for ax201 with subsystem id 0x0030

2022-01-09 Thread Stefan Sperling
On Sun, Jan 09, 2022 at 05:32:21PM +, Iraklis Karagkiozoglou wrote: > Hi, > > I've added support for AX201 with subsystem id 0x0030 in if_iwx. > > I am only loading a different firmware for the specific subsystem id to > avoid introducing any regressions or bugs. We are receiving more and

relayd: conversion for opaque RSA_METHOD

2022-01-09 Thread Theo Buehler
Since RSA_METHOD will become opaque, we can no longer initialize a static version of it on the stack. Instead, allocate it once and use accessors to initialize it. I removed parentheses in all return statements to avoid a lot of linewrapping. Other than that, this is a mostly mechanical diff.

patch: if_iwx.c add support for ax201 with subsystem id 0x0030

2022-01-09 Thread Iraklis Karagkiozoglou
Hi, I've added support for AX201 with subsystem id 0x0030 in if_iwx. I am only loading a different firmware for the specific subsystem id to avoid introducing any regressions or bugs. -- Iraklis Karagkiozoglou diff --git sys/dev/pci/if_iwx.c sys/dev/pci/if_iwx.c index 4c85ad108a8..78b73303f42

patch: move kern_unveil.c to use DPRINTF()

2022-01-09 Thread Sebastien Marie
Hi, The following diff changes (but not too much) the way printf debug is done in kern_unveil.c Currently, each printf() is enclosed in #ifdef DEBUG_UNVEIL. The diff moves to using DPRINTF(). It reduces the number of #ifdef inside the file. I also changed some strings to use __func__ instead of

Re: unwind/unbound: fix build with opaque DSA

2022-01-09 Thread Stuart Henderson
On 2022/01/09 14:18, Theo Buehler wrote: > This switches to using the OpenSSL 1.1 codepath that does DSA_set0_pqg(). > Hopefully it's not too much hassle for updates. DSA_set0_pqg() has been > in LibreSSL for a while, so we can probably upstream this easily. > > libunbound in ports will need the

request for testing: malloc and large allocations

2022-01-09 Thread Otto Moerbeek
Hi, currently malloc does cache a number of free'ed regions up to 128k in size. This cache is indexed by size (in # of pages), so it is very quick to check. Some programs allocate and deallocate larger allocations in a frantic way. Accodomate those programs by also keeping a cache of regions

unwind/unbound: fix build with opaque DSA

2022-01-09 Thread Theo Buehler
This switches to using the OpenSSL 1.1 codepath that does DSA_set0_pqg(). Hopefully it's not too much hassle for updates. DSA_set0_pqg() has been in LibreSSL for a while, so we can probably upstream this easily. libunbound in ports will need the same patch. Index: