Split (*pr_usrreq)() by multiple handlers

2022-08-06 Thread Vitaliy Makkoveev
The current (*pr_usrreq)() is not useful for sockets locking work. We already have former PRU_ATTACH and PRU_DETACH splitted to the (*pr_attach)() and (*pr_detach)() handlers. We don't want to add new commands to (*pr_usrreq)() but introduce hew handlers to the 'protosw' like (*pr_lock)() and (*pr_

Re: parallel divert packet soreceive

2022-08-06 Thread Vitaliy Makkoveev
On Sat, Aug 06, 2022 at 12:19:45AM +0200, Alexander Bluhm wrote: > On Sat, Aug 06, 2022 at 01:07:31AM +0300, Vitaliy Makkoveev wrote: > > I thought you will introduce something like below. This does the > > same but it has no heuristic under the hood. > > > > int > > sbwait_shared(struct socket *s

ipv6 fragment checksum

2022-08-06 Thread Alexander Bluhm
Hi, If interface drivers have enabled transmit offloading for the payload checksum , IPv6 fragments contain invalid checksum. For fragments the protocol checksum has to be calculated before fragmentation. Hardware cannot do this as it is too late. Do it earlier in software. ip_fragement() has s

Re: Consistency and cleanup in /share/misc/airport

2022-08-06 Thread Claudio Jeker
On Sat, Aug 06, 2022 at 10:45:35PM +0200, Thomas Wager wrote: > On Sun, 2022-07-31 at 13:11 +0200, Thomas Wager wrote: > > On Sat, 2022-07-30 at 22:44 +0100, Stuart Henderson wrote: > > > Due to the rule for this file mentioned in the header, I think you'll > > > need to find a developer who has be

Re: Consistency and cleanup in /share/misc/airport

2022-08-06 Thread Thomas Wager
On Sun, 2022-07-31 at 13:11 +0200, Thomas Wager wrote: > On Sat, 2022-07-30 at 22:44 +0100, Stuart Henderson wrote: > > Due to the rule for this file mentioned in the header, I think you'll > > need to find a developer who has been to the added airports that have > > replaced the metro areas, i.e.

Re: [PATCH] adds -t timeout to slowcgi

2022-08-06 Thread Omar Polo
after the other thread on tech@ reminded me this is still pending, i took a look, tested and committed it with some minor tweaks. Thanks! Florian Obser wrote: > On 2022-06-10 04:27 -07, Alfred Morgan wrote: > > Index: slowcgi.8 > > ===

Re: Build llvm-cov in base

2022-08-06 Thread Frederic Cambus
On Sat, Jul 30, 2022 at 12:19:54AM +0200, Frederic Cambus wrote: > Now that we have llvm-profdata in base, I would like to propose adding > llvm-cov as well. Just like llvm-profdata, it is fast to build and > only takes a few seconds on my amd64 machine. > > Having it in base would allow producin

Framework/PixArt clickpad quirk

2022-08-06 Thread Laurence Tratt
The Framework clickpad (a PixArt PIXA3854) announces that it has 4 buttons which defeats the normal heuristic of "2 or more buttons means it's a touchpad". When it's identified as a touchpad, right hand mouse clicks don't work (apart from that, I can't tell any difference between clickpad and touch

tcpbench maxhost

2022-08-06 Thread Alexander Bluhm
Hi, I tried to compile our tcpbench with a GNU/Linux gcc 8.3. There was a warning that snprinf() in saddr_ntop() might truncate the string. It is actually better to use NI_MAXHOST and NI_MAXSERV constants than some arbitrary 64 or 128 values. ok? bluhm Index: tcpbench.c ==

Re: slowcgi with configurable timeout

2022-08-06 Thread Omar Polo
Hello, Fox Steward wrote: > Hi, > > requests to slowcgi by default have a timeout limit of 120 seconds. > In certain scenarios this may not be sufficient (e.g. slow internet > connection). > > I propose to add a flag "-t" for this value to be configurable. > In the following patch I set the u

move swblk_t from sys/types.h to sys/blist.h and use it in blist (was: change its type and us Re: patch: change swblk_t type and use it in blist)

2022-08-06 Thread Jeremie Courreges-Anglas
On Sat, Aug 06 2022, Sebastien Marie wrote: > On Sat, Aug 06, 2022 at 02:19:31AM +0200, Jeremie Courreges-Anglas wrote: >> On Fri, Aug 05 2022, Sebastien Marie wrote: >> > Hi, >> > >> > When initially ported blist from DragonFlyBSD, we used custom type bsblk_t >> > and >> > bsbmp_t instead of t

bug: rm -rfv nonexistant will echo

2022-08-06 Thread Alfred Morgan
rm -rfv nonexistent will echo "nonexistent" -alfred