All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Qingjie Xing <xqjcool@gmail.com>
Cc: netfilter-devel@vger.kernel.org, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org
Subject: Re: [PATCH] netfilter: conntrack: drop expectations before freeing templates
Date: Tue, 19 Aug 2025 20:27:33 +0200	[thread overview]
Message-ID: <aKTCFTQy1dVo-Ucy@strlen.de> (raw)
In-Reply-To: <20250819181718.2130606-1-xqjcool@gmail.com>

Qingjie Xing <xqjcool@gmail.com> wrote:
> When deleting an xt_CT rule, its per-rule template conntrack is freed via
> nf_ct_destroy() -> nf_ct_tmpl_free(). If an expectation was created with
> that template as its master, 

Uhm.  How can that happen?  A template isn't a connection, so it should
not be able to create an expectation.

  reply	other threads:[~2025-08-19 18:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-19 18:17 [PATCH] netfilter: conntrack: drop expectations before freeing templates Qingjie Xing
2025-08-19 18:27 ` Florian Westphal [this message]
2025-08-19 23:24   ` Qingjie Xing
2025-08-20  0:17     ` Florian Westphal
2025-08-20  0:24       ` Florian Westphal
2025-08-20 18:32         ` Qingjie Xing
2025-08-21  7:18           ` Florian Westphal
2025-08-22  1:17             ` Qingjie Xing

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=aKTCFTQy1dVo-Ucy@strlen.de \
    --to=fw@strlen.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=xqjcool@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 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.