Article View: linux.kernel.netdev
Article #14301Re: [PATCH net v2] tcp: do not coalesce segments after FIN
From: patchwork-bot+netdevbpf
Date: Tue, 10 Nov 2026 23:20
Date: Tue, 10 Nov 2026 23:20
29 lines
8945 bytes
8945 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 6 Nov 2026 21:25:21 +0900 you wrote:
> A FIN consumes a sequence number. If another FIN segment is coalesced
> into an skb that already carries FIN, end_seq advances to account for
> the additional FIN, but tcp_flags still contains only one FIN bit.
>
> When the preceding gap is filled and tcp_ofo_queue() processes the
> coalesced skb, rcv_nxt advances to the skb's end_seq. When the receive
> path consumes all data in the skb, copied_seq advances by the data
> length and one sequence number for FIN. If three or more FIN segments
> have been coalesced into one skb, tcp_inq() can still return a positive
> value after the receive queue becomes empty and the SOCK_DONE adjustment
> is applied.
>
> [...]
Here is the summary with links:
- [net,v2] tcp: do not coalesce segments after FIN
https://git.kernel.org/netdev/net/c/1c46780dec48
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179435280518.110597.1258531195351650489.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360716-linux-kernel-netdev=dewy.ruReferences:
<au3HMfqNW3_DRMqS@v4bel>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360716-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v2] tcp: do not coalesce segments after FIN Date: Tue, 10 Nov 2026 23:20:05 +0000 Organization: Usenet Network Message-ID: <179435280518.110597.1258531195351650489.git-patchwork-notify@kernel.org> References: <au3HMfqNW3_DRMqS@v4bel> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="730834"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:bCOmSiIe0qDZHweZnwq2f+hZjZg= sha256:ERXW0AXzsX/CoVDPysmiN7XgvfRcB526GMTgDWgY1J0= sha1:VOzPx0aVn9QZ1co+LZMWhJUCZHs= sha256:o5dFfNh5B0hj5m+uIR7fvwVZtQLNqrUluWioJhpaWU8= 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 D5056113DB3; Wed, 11 Nov 2026 02:40:07 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, 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 vPz7BgBCNEtt; Wed, 11 Nov 2026 02:39:59 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-360716-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 91F1B113A85; Wed, 11 Nov 2026 02:39:49 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 60C9EE4871; Tue, 10 Nov 2026 23:20:09 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794352807; b=hFbkTYCh1PfxkOUBzP9d4xuUTR8JkRPrsSfP7HklOb/lxe33XTyBMfkZCam4QuPhkn23 mVpMGjVw7UVEaCCUE6a81KXC3lOJYClSugo9MnV7zLaSBOg0ZXcm0ap0Ap1peCsy4QQ1J oQUkTEOYOtMyr9RtLOCf5a1ry2jaRtGUk+PgzpJgxDJWTiE90lktYYzJ4fmplSmqAH1yQ MOAAg+KRpE9sw6QUqRjFrtkN6nWj7hn1OBUhJjxevkZG4K6Bslst0M5mOgg9pb2DAh+Fo MhCnPt8DKkNtyGKPOFpTgn5YIHz4JIVPaoy/v5Fz5HVmUDLIv/Dq+ZnpGjYtXB/ZESQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794352807; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=nEvSxNZCLWYmC+XyBsoHId+g+UapOJLZXmumFir3Bt4=; b=0TuHVtUCq9oQtyRbxW9Yu3fm6+fFiDFU8nGYlX8IVDz4Gu9eoc17zocAn8YLDfY27m7m uHMZtrX6BFB5l/pcEIl2FGyPwTptbkC9qmgw1YAeesfryM1ZWC3TiakHzRQWdfLgs2tX7 dp5VV/RoB+Z7SchsNJsdTeMYFBDfGvSzNCAOG2wLHyC6DfxbNZ+emUW1iaNtE5ywa+6eo TTyVZclAGbpmI1UrgNfhHSFBFMvC3xfoQQcu/3Jcxkpbl/zu3g95OKi48jJDu9DlPpKiY GLmQSfmTwP+taq0YaWnzsK/oyONeJft2G4RPpfYtm6M2oS1yX6HdD3zv2u32IQn80uw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="XCN/0Zhe"; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C94DF606A32D; Tue, 10 Nov 2026 23:20:07 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=XCN/0Zhe X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794352807; b=XLXUcCsZZlBwmz2KodOgkqExogMFrd438OsepSB94qQRRdQ29SbZwtap0FhPjUvaHwD5 9MVUQ9cDeEzvClMnUjSsV8AcnUlKHcfaKLLD0VOQO0Bjz2mgT7xBrYngg/Cd+/q3OibFW GDhZqydJ5ENBbF2gJaohoQ66zeZxoJwW+IO6iT1ZOSMZJZvwn6c75fJ0rn3jhrx4G0Xmj NDUALa1KA894jfpmUH624gWt+48Jl/BXq0eXONc2WU7hz2iFiX/9WEN8Jqg/W2UjL79c4 OEZCqCPCW2OSYSI9x/9B6CYtz6qZSytFmAJNSg9XaHTo9/qzbC5oHUg2vTPsP/JdW/w== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794352807; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=nEvSxNZCLWYmC+XyBsoHId+g+UapOJLZXmumFir3Bt4=; b=a3ErEieZ3TFoRNC/G0Po6FWjMDnTTOhqbWSXZ+d20kjoaXZ70+amPxUGod3R4E9znW0a 3WNJG+R1F3hHFt8zT+DOjGWsVqJbbcNbj/D1TvgzDZ/qf4uU3YAD5e0TAm1oCcx0hmXI4 fEtOV44pEoopZRUawOOK/C9WICfytEDicsJ5u8ac54rgLs0+E+FxEYdk1+wSu34nrHAoq zl6jTAD65ILaPBzfr/mspVbokBM5oQIz6V1/8evdSg2b6tlGuRNAvbvZ7dUX1EeamOcqy mJqQTZ5v/LyqIrnnEzA1SEdU4vkdJiEGMiuGXKKqnz6jqR2cboVLMP3XAzvyv71LHiA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="XCN/0Zhe"; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E2312606A31C for <netdev@vger.kernel.org>; Tue, 10 Nov 2026 23:20:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69DA71F0093D; Tue, 10 Nov 2026 23:20:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794352806; bh=nEvSxNZCLWYmC+XyBsoHId+g+UapOJLZXmumFir3Bt4=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=XCN/0Zhenb/5dPm93XvRlyhtQ2ezNe5OwzYq/1LXifa9dF/jE6Zu4mlA6/M+M/m0d xJJGY+NIRqX4oaglHsHWboDNQP4YWJlA4iQw/FWJY4j7R9a336Ytelcbod6bUdlijp Vs1Rft/QSPLj0rrqBRA6pXMT0pG08gLjj6Sf4xbpkvamfDSIzyurdj9OG08LGG8ZyP wCNeYeDdvgENzEAqTl/0g7JTUXNRlNVrNmC55ynX9D147wmkRiwPOT1HsnyE9yAQzq 4zxJVkYDIC96oybnkkKmdFH/n/Fn39BcJwnsPCqhyHuanyxO0GiHkswmkZQz7HWgxS tN/AvYh9ZCG8Q== 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 5E15F39E8A40; Tue, 10 Nov 2026 23:20:06 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <au3HMfqNW3_DRMqS@v4bel> X-Cc: edumazet@kernel.org, ncardwell@google.com, kuniyu@google.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, john.fastabend@gmail.com, sd@queasysnail.net, netdev@vger.kernel.org