All of lore.kernel.org
 help / color / mirror / Atom feed
From: Qican Ma <goonsomeway@gmail.com>
To: pablo@netfilter.org
Cc: fw@strlen.de, netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nf v3] netfilter: flowtable: interlock NF_FLOW_TEARDOWN with NF_FLOW_PENDING
Date: Wed, 25 Nov 2026 19:04:12 +0800	[thread overview]
Message-ID: <179560465233.45008.13158085455166110796@gmail.com> (raw)
In-Reply-To: <awakyVQMHrobvvAL@chamomile>

Hi Pablo,

Right - with 0abb54363974 providing the caller-side teardown check,
the work_alloc()-side check is redundant. I have sent v4 with that
hunk dropped, keeping only the GC-side half of the interlock, which
is the piece still missing in net-next: gc_step() reads
NF_FLOW_PENDING at entry before the teardown decision, so the work
item can still be queued and the flow RCU-freed underneath it.

Thanks,
Qican Ma

      reply	other threads:[~2026-11-25 11:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25  7:24 [PATCH nf v3] netfilter: flowtable: interlock NF_FLOW_TEARDOWN with NF_FLOW_PENDING Qican Ma
2026-11-25  9:05 ` Pablo Neira Ayuso
2026-11-25 11:04   ` Qican Ma [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=179560465233.45008.13158085455166110796@gmail.com \
    --to=goonsomeway@gmail.com \
    --cc=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.