Netdev List
 help / color / mirror / Atom feed
From: Zhefu Peng <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, horms@kernel.org, kuniyu@google.com,
	mschiffer@universe-factory.net, nicolas.dichtel@6wind.com,
	shuah@kernel.org, linux-kselftest@vger.kernel.org,
	willemb@google.com
Subject: Re: [PATCH net v7 1/2] vxlan: reset the remote's dst cache when snooping moves a MAC
Date: Sat, 28 Nov 2026 00:40:10 +0600	[thread overview]
Message-ID: <20261127184010.74433-1-ilskdw@gmail.com> (raw)
In-Reply-To: <179580399973.3135.12029769847251459361@kernel.org>

> [Severity: Medium]
> This fixes the deterministic case. Can a route for the previous remote
> still end up in the cache after the migration, though?

Yes, through the same window answered for v2, v5 and v6:

https://lore.kernel.org/netdev/20261123185811.53107-1-ilskdw@gmail.com/

vxlan_fdb_replace() has it too, and closing it needs a different
invalidation scheme, which I would rather propose separately for
net-next. The plain store to remote_ip that a transmit can read while it
is in progress is not new either: vxlan_snoop() has rewritten
remote_ip in place without a lock since before this patch.

(Adding Willem, whom I missed on Cc for the selftest.)

  reply	other threads:[~2026-11-27 18:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 18:23 [PATCH net v7 0/2] vxlan: reset the remote's dst cache when snooping moves a MAC Zhefu Peng
2026-11-26 18:23 ` [PATCH net v7 1/2] " Zhefu Peng
2026-11-27 18:26   ` netdev-bot+sashiko
2026-11-27 18:40     ` Zhefu Peng [this message]
2026-11-26 18:23 ` [PATCH net v7 2/2] selftests: net: add a test for vxlan snooping moving " Zhefu Peng

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=20261127184010.74433-1-ilskdw@gmail.com \
    --to=ilskdw@gmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=kuniyu@google.com \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=mschiffer@universe-factory.net \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nicolas.dichtel@6wind.com \
    --cc=pabeni@redhat.com \
    --cc=shuah@kernel.org \
    --cc=willemb@google.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox