From: Jakub Kicinski <kuba@kernel.org>
To: Ren Wei <enjou1224z@gmail.com>
Cc: netdev@vger.kernel.org, dsahern@kernel.org, idosch@nvidia.com,
davem@davemloft.net, edumazet@google.com, pabeni@redhat.com,
horms@kernel.org, kaber@trash.net, vega@nebusec.ai,
zihanx@nebusec.ai
Subject: Re: [PATCH net 1/1] ipv6: ip6mr: fix mr_table lifetime leak
Date: Thu, 23 Jul 2026 16:41:35 -0700 [thread overview]
Message-ID: <20260723164135.7d257e48@kernel.org> (raw)
In-Reply-To: <70026e78a5cafae9d3ccc560e2b5c4dd47f0a7b0.1784795838.git.zihanx@nebusec.ai>
On Fri, 24 Jul 2026 01:38:23 +0800 Ren Wei wrote:
> MRT6_TABLE should only select a multicast routing table, but a fresh
> non-default mr_table can still outlive the socket once MRT6_INIT
> publishes it. After MRT6_DONE or socket close, ip6mr_sk_done() clears
> the routing state but leaves the empty table linked from mr6_tables, so
> repeated MRT6_TABLE(fresh id) -> MRT6_INIT -> MRT6_DONE/close cycles
> accumulate detached tables until netns teardown.
Sashiko says this is quite broken, plus it breaks the selftest for ipmr.
Please wait for Sashiko review to be released and take it from there..
prev parent reply other threads:[~2026-07-23 23:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-23 17:38 [PATCH net 0/1] ipv6: ip6mr: fix mr_table lifetime leak Ren Wei
2026-07-23 17:38 ` [PATCH net 1/1] " Ren Wei
2026-07-23 23:41 ` Jakub Kicinski [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=20260723164135.7d257e48@kernel.org \
--to=kuba@kernel.org \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=enjou1224z@gmail.com \
--cc=horms@kernel.org \
--cc=idosch@nvidia.com \
--cc=kaber@trash.net \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=vega@nebusec.ai \
--cc=zihanx@nebusec.ai \
/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.