From: CMGS <ilskdw@gmail.com>
To: netdev-bot+sashiko@kernel.org
Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch,
davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
pabeni@redhat.com, kuniyu@google.com
Subject: Re: [PATCH net] vxlan: reset the remote's dst cache when snooping moves a MAC
Date: Tue, 10 Nov 2026 23:28:53 +0800 [thread overview]
Message-ID: <20261110152853.6223-1-ilskdw@gmail.com> (raw)
In-Reply-To: <179432251224.994134.6565482770882182020@kernel.org>
> [Severity: High]
> Should this branch also update rdst->remote_ifindex and clear
> rdst->offloaded, as vxlan_fdb_replace() does?
Yes. The early return compares remote_ifindex and vxlan_xmit_one()
uses it as the oif, so leaving it stale can refill the cache with a
route for the previous interface, and with this patch every later
packet from that peer would reset the cache. v2 will set
remote_ifindex and clear offloaded in the same branch, as
vxlan_fdb_replace() does.
> [Severity: Low]
> Can a concurrent transmitter still cache a route to the previous remote
> after this reset?
The window exists, but it is the same one vxlan_fdb_replace() and the
other dst_cache users that reset after a parameter change have. Closing
it needs a change to dst_cache invalidation, which is out of scope for
this fix.
pw-bot: cr
prev parent reply other threads:[~2026-11-10 15:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-06 14:44 [PATCH net] vxlan: reset the remote's dst cache when snooping moves a MAC CMGS
2026-11-10 14:55 ` netdev-bot+sashiko
2026-11-10 15:28 ` CMGS [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=20261110152853.6223-1-ilskdw@gmail.com \
--to=ilskdw@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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.