Re: Panic: "knote ... was already on knlist..." after main-n284826-d9d7b5948649

Kyle Evans <[email protected]>
Newsgroups gmane.os.freebsd.current
Message-ID <[email protected]>
On 4/2/26 08:20, David Wolfskill wrote:
> On Thu, Apr 02, 2026 at 04:01:42PM +0300, Konstantin Belousov wrote:
>> ...
>> Peter Holm already reported this or similar issue.  Try this please.
> 
> Ah.
> 
>> commit 5da1dcf8b88ffa3591a84405a8ab29ebd846f2e0
>> Author: Konstantin Belousov <[email protected]>
>> Date:   Thu Apr 2 14:02:14 2026 +0300
>>
>>      kqueue_fork_copy_knote(): zero kn_knlist for the copy before calling knlist_add()
>> ...
> 
> Change made; works -- thanks!
> 

I know it's not much consolation *after* I've blown up your machines, but I wrote a regression
test that covers this scenario:

https://reviews.freebsd.org/D56223

Thanks,

Kyle Evan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.