Re: ifconfig(8) add bpe(4)

2021-04-11 Thread Klemens Nanni
On Sun, Apr 11, 2021 at 03:56:35PM +0100, Jason McIntyre wrote: > the sections are ordered alphabetically, so it should go first, > immediately before BRIDGE. > > except for that, it reads fine to me. Committed with proper sort order, thanks.

ure(4): correct the rx early size

2021-04-11 Thread Kevin Lo
The rx early size is used to reduce the loading of CPU by letting a transfer contain more data to reduce the number of transfers. The algorithm should be (ure_rxbufsz - packet size) / 8 This matches Linux path in r8153_set_rx_early_size(). ok? Index: sys/dev/usb/if_ure.c ==

ksh: change strncat to... strlcpy

2021-04-11 Thread Guilherme Janczak
The code was a bit odd. I'm bundling a trivial style change that makes the "return 0" statement into "return NULL". Additionally, there is a very similar function called str_save() which could be implemented as a call to this str_nsave() function. Would OpenBSD mind if I sent a patch to do that?

Re: ifconfig(8) add bpe(4)

2021-04-11 Thread Klemens Nanni
On Sun, Apr 11, 2021 at 04:48:40PM +0200, Marcus MERIGHI wrote: > the description of bpe(4) is missing from ifconfig(8). > my attempt with what I could gather from bpe(4) below. Thanks, that reads OK to me; I'll commit in a few days latest unless there's further feedback.

Re: ifconfig(8) add bpe(4)

2021-04-11 Thread Jason McIntyre
On Sun, Apr 11, 2021 at 04:48:40PM +0200, Marcus MERIGHI wrote: > hello! > > the description of bpe(4) is missing from ifconfig(8). > my attempt with what I could gather from bpe(4) below. > > marcus > hi. the sections are ordered alphabetically, so it should go first, immediately before BRIDG

ifconfig(8) add bpe(4)

2021-04-11 Thread Marcus MERIGHI
hello! the description of bpe(4) is missing from ifconfig(8). my attempt with what I could gather from bpe(4) below. marcus Index: ifconfig.8 === RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v retrieving revision 1.371 diff -u -p -u

smtpd: more unused code

2021-04-11 Thread Eric Faurot
Certificate verification is done by libtls. The former code is not used anymore and can be unplugged. Eric. Index: dispatcher.c === RCS file: /cvs/src/usr.sbin/smtpd/dispatcher.c,v retrieving revision 1.2 diff -u -p -r1.2 dispatcher.

[patch] bring back kern.video.record to faq13

2021-04-11 Thread Stefan Hagen
Hello, just a reminder to bring kern.video.record back into faq13 before the 6.9 release. Best Regards, Stefan Index: faq/faq13.html === RCS file: /cvs/www/faq/faq13.html,v retrieving revision 1.225 diff -u -p -u -p -r1.225 faq13.ht