ipsec ipo tdb mutex

2021-12-10 Thread Alexander Bluhm
Hi, To cache lookups, the policy ipo is linked to its SA tdb. There is a list of SAs that belong to a policy. To make it MP safe we need a mutex around these pointers. Hrvoje: Can you test this alone and together with the ip forwarding diff. I protects the data structure where the latter crash

Re: gprof: Profiling a multi-threaded application

2021-12-10 Thread Martin Pieuchot
On 10/12/21(Fri) 09:56, Yuichiro NAITO wrote: > Any comments about this topic? I'm ok with this approach. I would appreciate if somebody else could take it over, I'm too busy with other stuff. > On 7/12/21 18:09, Yuichiro NAITO wrote: > > Hi, Martin > > > > n 2021/07/10 16:55, Martin Pieuchot w

Re: Fix typo in '}' command in less.1

2021-12-10 Thread Ingo Schwarze
Hi Richard, Richard Ulmer wrote on Fri, Dec 10, 2021 at 04:04:11PM +0100: > this is just a minor copy-and-paste error fix for the less(1) man page. Committed, thank you. > I also contributed this upstream: https://github.com/gwsw/less/pull/228 > > I hope this is the right mailing list for this

Re: sndiod: -F does not switch back to preferred device

2021-12-10 Thread Theo de Raadt
Alexandre Ratchov wrote: > On Thu, Dec 09, 2021 at 09:02:07PM -0700, Theo de Raadt wrote: > > > > I think drivers, or maybe this can be done in higher-level subsystems, need > > to be modified such that events get sent when a device is *actually ready*, > > and the call from config_attach() shou

Re: Make __EV_POLL flag specific to kqueue-based poll(2)

2021-12-10 Thread Todd C . Miller
On Thu, 09 Dec 2021 15:38:36 +, Visa Hankala wrote: > The system now has two flags for poll and select system calls, > __EV_POLL which currently covers both calls, and __EV_SELECT which is > used with select only. > > To make the code easier to follow, this diff makes __EV_POLL specific > to p