Re: net write in pcb hash

2021-12-09 Thread Martin Pieuchot
On 08/12/21(Wed) 22:39, Alexander Bluhm wrote: > On Wed, Dec 08, 2021 at 03:28:34PM -0300, Martin Pieuchot wrote: > > On 04/12/21(Sat) 01:02, Alexander Bluhm wrote: > > > Hi, > > > > > > As I want a read-only net lock for forwarding, all paths should be > > > checked for the correct net lock and

Re: net write in pcb hash

2021-12-08 Thread Alexander Bluhm
On Wed, Dec 08, 2021 at 03:28:34PM -0300, Martin Pieuchot wrote: > On 04/12/21(Sat) 01:02, Alexander Bluhm wrote: > > Hi, > > > > As I want a read-only net lock for forwarding, all paths should be > > checked for the correct net lock and asserts. I found code in > > in_pcbhashlookup() where

Re: net write in pcb hash

2021-12-08 Thread Martin Pieuchot
On 04/12/21(Sat) 01:02, Alexander Bluhm wrote: > Hi, > > As I want a read-only net lock for forwarding, all paths should be > checked for the correct net lock and asserts. I found code in > in_pcbhashlookup() where reading the PCB table results in a write > to optimize the cache. > > Porperly

net write in pcb hash

2021-12-03 Thread Alexander Bluhm
Hi, As I want a read-only net lock for forwarding, all paths should be checked for the correct net lock and asserts. I found code in in_pcbhashlookup() where reading the PCB table results in a write to optimize the cache. Porperly protecting PCB hashes is out of scope for parallel forwarding.