public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Kuniyuki Iwashima <kuniyu@google.com>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
	pabeni@redhat.com, horms@kernel.org, kuni1840@gmail.com,
	netdev@vger.kernel.org, sysroot314@gmail.com
Subject: Re: [PATCH v1 net] af_unix: Set gc_in_progress to true in unix_gc().
Date: Tue, 05 May 2026 02:00:07 +0000	[thread overview]
Message-ID: <177794640704.1386640.10843392163753585620.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260501073945.1884564-1-kuniyu@google.com>

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri,  1 May 2026 07:39:41 +0000 you wrote:
> Igor Ushakov reported that unix_gc() could run with gc_in_progress
> being false if the work is scheduled while running:
> 
>   Thread 1         Thread 2                     Thread 3
>   --------         --------                     --------
>                    unix_schedule_gc()           unix_schedule_gc()
>                    `- if (!gc_in_progress)      `- if (!gc_in_progress)
>                       |- gc_in_progress = true     |
>                       `- queue_work()              |
>   unix_gc() <----------------/                     |
>   |                                                |- gc_in_progress = true
>   ...                                              `- queue_work()
>   |                                                       |
>   `- gc_in_progress = false                               |
>                                                           |
>   unix_gc() <---------------------------------------------'
>   |
>   ... /* gc_in_progress == false */
>   |
>   `- gc_in_progress = false
> 
> [...]

Here is the summary with links:
  - [v1,net] af_unix: Set gc_in_progress to true in unix_gc().
    https://git.kernel.org/netdev/net/c/d82ba05263c6

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      reply	other threads:[~2026-05-05  2:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-01  7:39 [PATCH v1 net] af_unix: Set gc_in_progress to true in unix_gc() Kuniyuki Iwashima
2026-05-05  2:00 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=177794640704.1386640.10843392163753585620.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=kuni1840@gmail.com \
    --cc=kuniyu@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sysroot314@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox