Re: fill out more rk356x dwqe phy-mode handling

2023-04-04 Thread David Gwynne
On Tue, Apr 04, 2023 at 10:59:56PM +1000, David Gwynne wrote: > > > > On 4 Apr 2023, at 20:37, Mark Kettenis wrote: > > > >> Date: Tue, 4 Apr 2023 09:49:40 +1000 > >> From: David Gwynne > >> > >> i did this when i was trying to figure out why TX wasn't working on the > >> nanopi r5s before fi

[Patch] Inconsistent markup in 73.html

2023-04-04 Thread Ross L Richardson
There's a glaring inconsistency in the markup used for the various .tar.gz files. Should be all-or-nothing; patch for the former below... Ross -- Index: 73.html === RCS file: /cvs/www/73.html,v retrieving revision 1.33 diff -u -p -r

acpithinkpad: don't setup non-existent temp sensors

2023-04-04 Thread joshua stein
acpithinkpad sets up a hard-coded number of temperature sensors and doesn't check the result of aml_evalinteger when polling, so for all invalid sensors it ends up reporting the value of the previous successful sensor check resulting in this (for a machine with only a TMP0 sensor): hw.sensors.

Re: ndp delete cloning route

2023-04-04 Thread Alexander Bluhm
On Tue, Apr 04, 2023 at 03:05:43PM +0200, Alexander Bluhm wrote: > While comparing arp and ndp code I found some stylistic differences. > Make both similar to catch such bugs easier. kn@ asked me to commit the style fix upfront. > if ndp -d does not find a neigbor entry, it removes the cloning >

Re: [installer] default answer to "Is the disk partition already mounted?"

2023-04-04 Thread Mikhail
On Sat, Apr 01, 2023 at 04:33:39PM +0300, Mikhail wrote: > Currently default answer for the question is 'yes', which is not true > for install case, but correct for upgrade one. > > Changing default answer depending on the mode of the installer looks > like a good approach. Idea by Christian (nadd

Re: bgpd parse.y spring cleaning

2023-04-04 Thread Theo Buehler
On Tue, Apr 04, 2023 at 05:20:21PM +0200, Claudio Jeker wrote: > Here is a preparation diff that just does some stylistic cleanup in > parse.y > > This moves the globals a bit down (I want to add a struct define later and > those are below the current place). > Move the mrt and network statements

bgpd parse.y spring cleaning

2023-04-04 Thread Claudio Jeker
Here is a preparation diff that just does some stylistic cleanup in parse.y This moves the globals a bit down (I want to add a struct define later and those are below the current place). Move the mrt and network statements to the grammar. Swap order of restricted to follow the common idiom of empt

ndp delete cloning route

2023-04-04 Thread Alexander Bluhm
Hi, if ndp -d does not find a neigbor entry, it removes the cloning route instead. Comparing the arp and ndp code shows that the latter has a fallthrough to delete. Return an error also in this case. While comparing arp and ndp code I found some stylistic differences. Make both similar to catch

Re: fill out more rk356x dwqe phy-mode handling

2023-04-04 Thread David Gwynne
> On 4 Apr 2023, at 20:37, Mark Kettenis wrote: > >> Date: Tue, 4 Apr 2023 09:49:40 +1000 >> From: David Gwynne >> >> i did this when i was trying to figure out why TX wasn't working on the >> nanopi r5s before figuring out that problem was because we didn't have >> rkiovd. >> >> at the ver

Re: fill out more rk356x dwqe phy-mode handling

2023-04-04 Thread Mark Kettenis
> Date: Tue, 4 Apr 2023 09:49:40 +1000 > From: David Gwynne > > i did this when i was trying to figure out why TX wasn't working on the > nanopi r5s before figuring out that problem was because we didn't have > rkiovd. > > at the very least it should future proof dwqe against more phy setups, >

Re: installer: rpi: make softraid install work

2023-04-04 Thread Moritz Buhl
On Mon, Apr 03, 2023 at 05:53:49PM +, Klemens Nanni wrote: > 03.04.2023 15:03, Klemens Nanni пишет: > > This means no behaviour change for plain installs, but working boot for > > softraid installs. > > > > 'cvs diff -b -U0': > > > > @@ -39 +39 @@ md_installboot() { > > - local

Re: divert packet checksum

2023-04-04 Thread Alexandr Nedvedicky
Hello, On Mon, Apr 03, 2023 at 11:39:54PM +0200, Alexander Bluhm wrote: > Hi, > > When sending IP packets to userland with divert-packet rules, the > checksum may be wrong. Locally generated packets diverted by pf > out rules may have no checksum due to to hardware offloading. > IDS/IPS systems