All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Wenbo Sun <sunwenbo@cmss.chinamobile.com>
Cc: dsahern@kernel.org, idosch@nvidia.com, davem@davemloft.net,
	edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.org,
	horms@kernel.org, hangbin.liu@linux.dev, liuhangbin@kylinos.cn,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	1342116488@qq.com
Subject: Re: [PATCH net-next v4] ipv6: check mc_forwarding before calling ip6mr_get_route()
Date: Sun, 29 Nov 2026 17:40:09 +0000	[thread overview]
Message-ID: <179597400949.2373400.11980895473245467464.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261120032327.18375-1-sunwenbo@cmss.chinamobile.com>

Hello:

This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:

On Fri, 20 Nov 2026 11:23:27 +0800 you wrote:
> When CONFIG_IPV6_MROUTE is enabled, rt6_fill_node() currently calls
> ip6mr_get_route() whenever an input interface (RTA_IIF) is specified and
> the matched route prefix (rt6_dst->addr) is multicast.
> 
> However, ip6mr_get_route() should not be invoked in three cases where
> the kernel does not perform multicast forwarding lookup:
> 1. Multicast forwarding is disabled in the network namespace
>    (mc_forwarding is 0);
> 2. The queried destination address (dest) has interface-local
>    (IPV6_ADDR_LOOPBACK) or link-local (IPV6_ADDR_LINKLOCAL) scope, which
>    ip6_mc_input() never forwards;
> 3. The query requests a raw FIB entry via RTM_F_FIB_MATCH (where
>    inet6_rtm_getroute() passes dest as NULL), for which IPv4 uses
>    fib_dump_info() rather than ipmr_get_route().
> 
> [...]

Here is the summary with links:
  - [net-next,v4] ipv6: check mc_forwarding before calling ip6mr_get_route()
    https://git.kernel.org/netdev/net-next/c/dddb95f652f3

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



      parent reply	other threads:[~2026-11-29 17:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20  3:23 [PATCH net-next v4] ipv6: check mc_forwarding before calling ip6mr_get_route() Wenbo Sun
2026-11-24 14:41 ` Ido Schimmel
2026-11-29 17:40 ` 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=179597400949.2373400.11980895473245467464.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=1342116488@qq.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=edumazet@kernel.org \
    --cc=hangbin.liu@linux.dev \
    --cc=horms@kernel.org \
    --cc=idosch@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liuhangbin@kylinos.cn \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.org \
    --cc=sunwenbo@cmss.chinamobile.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.