🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #2389

Re: [PATCH net v4] vsock: treat TCP_CLOSING as once-established

#2389
From: patchwork-bot+netdevbpf
Date: Mon, 12 Oct 2026 15:10
25 lines
6643 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Mon, 05 Oct 2026 02:26:22 +0200 you wrote:
> Handle the TCP_ESTABLISHED -> TCP_CLOSING transition on OP_RST, which can
> race with the connect loop. Immediately break and return 0 on
> ESTABLISHED/CLOSING. The return value of connect() should reflect what
> happened up to the point the connection was established or failed. Events
> that occur afterwards must not affect it. E.g. even if OP_RW has already
> set sk_err, connect() should still return 0, not ENOBUFS because of it.
> Adapt the inaccurate comment above signal_pending().
> 
> [...]

Here is the summary with links:
  - [net,v4] vsock: treat TCP_CLOSING as once-established
    https://git.kernel.org/netdev/net/c/4f6ac74fa594

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179181780427.3481280.4297013609135522933.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-345058-linux-kernel-netdev=dewy.ru
References: <20261005-vsock-connect-reset-closing-v4-1-15d41cfda3ed@rbox.co>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-345058-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v4] vsock: treat TCP_CLOSING as once-established
Date: Mon, 12 Oct 2026 15:10:04 +0000
Organization: Usenet Network
Message-ID: <179181780427.3481280.4297013609135522933.git-patchwork-notify@kernel.org>
References: <20261005-vsock-connect-reset-closing-v4-1-15d41cfda3ed@rbox.co>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1807903"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:5/8csW5GvxcEDeb9TCsn0C68tIU= sha256:ewuXhKhPo2UY8J5c9YIys/yJfiCOelgR6lBOHRVzBgs=
	sha1:4JYrNU9V2rft8W6Bq4PIRBVx7RE= sha256:ga9z7Si9Q8l9Ea2UyqzsjX+yp+v6pX8Qx7SNb7yQ+mw=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id AF6BF10FC2F; Mon, 12 Oct 2026 18:21:24 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.341
X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id bFMS911qVNRH;
	Mon, 12 Oct 2026 18:21:17 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-345058-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 6AFF710FC2D; Mon, 12 Oct 2026 18:21:08 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by tor.lore.kernel.org (Postfix) with ESMTP id BBA064070A; Mon, 12 Oct 2026 15:10:13 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 35413499F14;
	Mon, 12 Oct 2026 15:10:07 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UheppWLl"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3D71499F0D;
	Mon, 12 Oct 2026 15:10:05 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791817807; cv=none; b=rJVuWwpAKcazaVJr0TRM+7XIoWP6QgEAz0P664v7BtBMYq3dg4Px4DVlf+al07IAOhlD3UASjuu+20b2VocEJ2mpOLOO+fpz37F6DMydOVl701jLsEeeWNQlTdlladNWxEgArgBpD8PHbEss0gRLSyzZkdYPi3L+LGuCrJXayws=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791817807; c=relaxed/simple;
	bh=c67aK30QWeJfJIdUSvCZzcfaVr+Lu94q011gSim9xqA=;
	h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc; b=d6oLdIMuIa4Xfuozwwti+1OnE9K3JoPKqS/Enyx+vkelANVAmCqCkwdSqSmsnWHJ4R6hMedqsv77oddRttVh1FN5M6bVgYRbrXx7Xv0ZpOor8lNep/2SOsJxl2n2mge/BT5rydVFFn2wkyDrVQMkUwZWnvQXCLXagu8yzfteJ2Y=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UheppWLl; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8213C1F0089B;
	Mon, 12 Oct 2026 15:10:05 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791817805;
	bh=hAmyDzDhB5hr4lnWYlCGm3jTBvtVShDLYxejZlbAa/k=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=UheppWLlMew26mIkHv+k6LtrENv+3lchTrHlyyHTUEW3+/w8bZw9NvmAB/MJMEvVa
	 cNc0QWudYUnYtJ7PI85mJ5RFpS8Ux1A3rsBi5EHCXmytwmNePvpMrxhFW2QcfwRSSp
	 WdhoX5xoVZ4I2RIOIud6gnIKDhTRivRPxz13qpqvHb9q0Ex3/inyWr67zUGEhtJBRp
	 gSr55uQPl4l+Sd4dUNMRUTxTPVJk0vPaXHsX9jX577B+7djP9nwL7vOdV63i0VaW1e
	 6TY+biZhrm8Xe8aSYy9IfC57CaDBhYU/GjBywxuihMMfJ+6a0b9p4p4Ijdco/anhX9
	 bTSbFjok8voHA==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 774223924A4E;
	Mon, 12 Oct 2026 15:10:05 +0000 (UTC)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261005-vsock-connect-reset-closing-v4-1-15d41cfda3ed@rbox.co>
X-Cc: stefanha@redhat.com, sgarzare@redhat.com, mst@redhat.com,
 jasowangio@gmail.com, eperezma@redhat.com, davem@davemloft.net,
 xuanzhuo@linux.alibaba.com, kuba@kernel.org, pabeni@redhat.com,
 horms@kernel.org, edumazet@kernel.org, kvm@vger.kernel.org,
 virtualization@lists.linux.dev, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org, imv4bel@gmail.com