public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel•org>
To: Li Chen <me@linux•beauty>
Cc: Jonathan Corbet <corbet@lwn•net>,
	Pasha Tatashin <pasha.tatashin@soleen•com>,
	Mike Rapoport <rppt@kernel•org>,
	Pratyush Yadav <pratyush@kernel•org>,
	Eric Dumazet <edumazet@google•com>,
	Neal Cardwell <ncardwell@google•com>,
	Kuniyuki Iwashima <kuniyu@google•com>,
	"David S. Miller" <davem@davemloft•net>,
	David Ahern <dsahern@kernel•org>, Paolo Abeni <pabeni@redhat•com>,
	Simon Horman <horms@kernel•org>,
	Andrew Morton <akpm@linux-foundation•org>,
	"Borislav Petkov (AMD)" <bp@alien8•de>,
	Randy Dunlap <rdunlap@infradead•org>,
	Pawan Gupta <pawan.kumar.gupta@linux•intel.com>,
	Petr Mladek <pmladek@suse•com>,
	Feng Tang <feng.tang@linux•alibaba.com>,
	Kees Cook <kees@kernel•org>, Li RongQing <lirongqing@baidu•com>,
	Arnd Bergmann <arnd@arndb•de>, Askar Safin <safinaskar@gmail•com>,
	Frank van der Linden <fvdl@google•com>,
	linux-doc@vger•kernel.org, linux-kernel@vger•kernel.org,
	netdev@vger•kernel.org
Subject: Re: [PATCH v1 3/3] liveupdate: suppress TCP RST during post-kexec restore window
Date: Fri, 30 Jan 2026 17:05:33 -0800	[thread overview]
Message-ID: <20260130170533.257db5fb@kernel.org> (raw)
In-Reply-To: <20260130145122.368748-4-me@linux.beauty>

On Fri, 30 Jan 2026 22:51:19 +0800 Li Chen wrote:
> During a kexec-based live update, userspace may restore established TCP
> connections after the new kernel has booted (e.g. via CRIU). Any packet
> arriving for a not-yet-restored socket will hit the no-socket path and
> trigger a TCP RST, causing the peer to immediately drop the connection.

Can you not add a filter to simply drop those packets until workload is
running again? It'd actually be less racy than this hac^w patch ...

  reply	other threads:[~2026-01-31  1:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-30 14:51 [PATCH v1 0/3] liveupdate: suppress TCP RST during post-kexec restore window Li Chen
2026-01-30 14:51 ` [PATCH v1 3/3] " Li Chen
2026-01-31  1:05   ` Jakub Kicinski [this message]
2026-02-01  1:44     ` Li Chen
2026-02-03  0:53       ` Jakub Kicinski
2026-02-03  3:15         ` Li Chen

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=20260130170533.257db5fb@kernel.org \
    --to=kuba@kernel$(echo .)org \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=arnd@arndb$(echo .)de \
    --cc=bp@alien8$(echo .)de \
    --cc=corbet@lwn$(echo .)net \
    --cc=davem@davemloft$(echo .)net \
    --cc=dsahern@kernel$(echo .)org \
    --cc=edumazet@google$(echo .)com \
    --cc=feng.tang@linux$(echo .)alibaba.com \
    --cc=fvdl@google$(echo .)com \
    --cc=horms@kernel$(echo .)org \
    --cc=kees@kernel$(echo .)org \
    --cc=kuniyu@google$(echo .)com \
    --cc=linux-doc@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=lirongqing@baidu$(echo .)com \
    --cc=me@linux$(echo .)beauty \
    --cc=ncardwell@google$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pabeni@redhat$(echo .)com \
    --cc=pasha.tatashin@soleen$(echo .)com \
    --cc=pawan.kumar.gupta@linux$(echo .)intel.com \
    --cc=pmladek@suse$(echo .)com \
    --cc=pratyush@kernel$(echo .)org \
    --cc=rdunlap@infradead$(echo .)org \
    --cc=rppt@kernel$(echo .)org \
    --cc=safinaskar@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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