🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #1093

[PATCH net v4 0/2] sctp: re-point retained control chunks on association migration

#1093
From: Jun Yang
Date: Fri, 09 Oct 2026 07:42
23 lines
8855 bytes
This series fixes ownership of retained SCTP control chunks during socket
migration. Patch 1 carries David Lee's shared-key prerequisite.

Changes since v3 [1], following Xin Long's review:
 - Add David Lee's and the forwarding submitter's sign-offs to patch 1.
 - Restore sctp_process_tx_chunk() to skip duplicate visits.
 - Preserve a control chunk's existing shared key across migration.

[1] https://lore.kernel.org/netdev/20260926100359.78731-1-juny24602@gmail.com/

David Lee (1):
  sctp: hold shkey across socket migration

Jun Yang (1):
  sctp: re-point retained control chunks on association migration

 include/net/sctp/sm.h    |  1 +
 net/sctp/sm_make_chunk.c |  5 +++--
 net/sctp/socket.c        | 57 +++++++++++++++++++++++++++++++++++++++---------
 3 files changed, 51 insertions(+), 12 deletions(-)

base-commit: a7bfaba4823e3c165bb2004c74eff7c096672bc7
Technical Details
Message-ID: <20261009074244.3718-1-juny24602@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343490-linux-kernel-netdev=dewy.ru

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-343490-linux-kernel-netdev=dewy.ru
From: juny24602@gmail.com (Jun Yang)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net v4 0/2] sctp: re-point retained control chunks on association migration
Date: Fri,  9 Oct 2026 15:42:30 +0800
Organization: Usenet Network
Message-ID: <20261009074244.3718-1-juny24602@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1056882"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:wmXVpXsR+ghdGAlvhj/g6Dnz9XU= sha256:/RtWU47o5lkJtHCTSf2IC1EcW9spx0UIjWPaB6IF9rc=
	sha1:WN1nPIZubV8VoRPQ9j3GMYF+fCU= sha256:znlR+5XhNZQVr8LJ7ebbj9W5bQzfxTcnAz/wTDdTk88=
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 0B87C10F5E7; Fri,  9 Oct 2026 10:44:03 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	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=gmail.com
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 Mq_N9WdYzDml;
	Fri,  9 Oct 2026 10:43:55 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-343490-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 2E14C10F5AC; Fri,  9 Oct 2026 10:43:50 +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 BB7812CAE5; Fri,  9 Oct 2026 07:43:10 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 76823457E56;
	Fri,  9 Oct 2026 07:43:09 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="a8CD/Azk"
X-Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5069D476058
	for <netdev@vger.kernel.org>; Fri,  9 Oct 2026 07:43:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.51
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791531789; cv=none; b=sOMZfqVwWOUCmje5tL6ShHU8RuuCklXYEQJerLwRBYsuKHpF67A7ZBhmFuU4y9xsCbD/7BlTmXreP12e7Ewfyket8u4hNofZ97recQ2UKa+doOv3ggKR8oaVSeneaN5umT9gI/IfVixWemQPFXxUrhEFBOzCirdcqFiHOTuLQy8=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791531789; c=relaxed/simple;
	bh=tTYCiu56WjZLaEUZm84YXG5kgInp20xIQBrWMS7xesA=;
	h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T+zqbnxmXup6GqMuIuu/s+sunu6YVsS/CDH0ZDLMZ0ZNXjLrENmjpFmE8qGCAJ5hMXoK5n5xbx9RAvCePy7EuHBoQl64vbf/Ny34MePP+5+JzKNGCks4VPNCSW+vVUzfJ+obDeQIm2/bVJ4CP/ZdGwyDpelhZGir3fwET8Y0WMg=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=a8CD/Azk; arc=none smtp.client-ip=209.85.216.51
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-39647aa9d52so1249430a91.0
        for <netdev@vger.kernel.org>; Fri, 09 Oct 2026 00:43:08 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20251104; t=1791531788; x=1792136588; darn=vger.kernel.org;
        h=content-transfer-encoding:mime-version:message-id:date:subject:cc
         :to:from:from:to:cc:subject:date:message-id:reply-to:content-type;
        bh=lwKfuoeQ35NUGbMAfIq/wI54O4pLFX7q37/ntcKq2NQ=;
        b=a8CD/AzkbtJo0q67hHOmqfwkikOtCvK2q4ddH4wrZX+iIqxRT6IctBaxm6yXA/P/f2
         3nrFblFjx5OQ6q4k2y2Ifp5LT8F6UsxT12Pjdqkq/b4QUQsd95AWMwdOQplSrEcphWXF
         tcB94tAi+fkxL0QUO6vzyIjnzWei+JQT4V67z9N9Ims6mceL3XxBVNRCL6kprFPVYp4m
         6v5LZ+d0NPeYQuMn/Hr2C5fOu50oz9BC6upVOVTd4YtnF+Jd/kCm5BAb7UNWzuzUKA0N
         R9TIibS5b97K+jnUIpkbAx8sC4ZaoTwdpPQ240mN5vcRod2MPe4dVvaT3ptKya0FjrVX
         Y8Zw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1791531788; x=1792136588;
        h=content-transfer-encoding:mime-version:message-id:date:subject:cc
         :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=lwKfuoeQ35NUGbMAfIq/wI54O4pLFX7q37/ntcKq2NQ=;
        b=W0Ytq76TO1z0lyZ4WMLqxv/gorgbwtF21s8+Fo7FMc570LmVNR22qrmpQthCxgb3Zr
         r2oL1sABPtjZmPFTvKDrsdj7k5NyDjE8BB3u2JNMa2ngXYCnlRkjCwhl/dLtSsRgjiUc
         n+zHrbPsE+K8b/b2dcjVi4R2bjtR7fXSX1uJ4sV4RX2ZihyFl0c9CuwJxQFDeaXQOSAR
         2rbbhft9nLlFcoEkTJI1cNug+JNjkXOpXKXLYthfgtBNzz/Ul3CFwfYSsHVTfBH8pCjv
         0FM9KTm+GWiHcIRS4beTRsTOYhPYZPWmKEjdSFFM962DPT9Eus+LhQjuqbOZUEBWpb+G
         Tn5w==
X-Forwarded-Encrypted: i=1; AKwUvBxbvoZyHw+RMZKfmt7vX2/u3idoSQ1Iz07rsSSNNfNPofXuHGthXnbXaJt7yZwBrmNvKqyHqsU=@vger.kernel.org
X-Gm-Message-State: AFq9FYLLavwzXGI/uDUHXyG3UKBxrSyCUv/5S8eTmv5LOeWgzGOfXnvb
	wr2TmzdRwVEj1XltVBDDgdFZVUpuAyoeQm99foDqCaz2D+vHyui35frD
X-Gm-Gg: AYBFou2mwQab/z5067kKsQCnE8VCicin5nHPEyBkgIRTOvxm21sL1dJtqI+1Id0vL2i
	J9jvuHokUfiKZzdIi2t6zIkwVymrDjKLvaGh/+FaHzBhrS/zmXGq0pq/5gyfKF+rOj9OYKxXzPb
	TrbwjF3COF9b2KwKjdHZq7rYJy0SZXcsygp8nd+Rpu6cmME8P59AATjVVbwyXcpKyTAnDF77Jiw
	0tXmF9MG3/v5gNNjzPwx90reP1WaxNBsog+qZxvaTyNnLBrUMwiYr69qqOm8duoaW8rmzecpwOE
	diHa/qo0ivZFj128FkEdFwNafzie9fvxlr698S03orv1z4+ZYBhKPLL2RWzLCK8a90pur1BRjJ9
	27ehFrvvmQrGNcl+Fm6mUz+nLd13aRPm8nKVOQGv0CbW3yRzvBKfQUSmZtcWywprLTFXFdrN55I
	/sxnc7hiU1MuDKmlJFyg1IK3Lyg+I1gNRQV2PI6t0898z6uPebcr3m3ySxdOIlV0/Em6LPSXvhz
	e/6KKFpguXu3Gu7zB58LV4h9EiRdo/nik+Tw6TzakKfRA==
X-Received: by 2002:a17:90b:4f43:b0:3a4:ee64:f492 with SMTP id 98e67ed59e1d1-3ab3ac8f4admr686219a91.33.1791531787321;
        Fri, 09 Oct 2026 00:43:07 -0700 (PDT)
X-Received: from JUNVYYANG-MC1.tencent.com ([43.132.141.21])
        by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3ab38ddac6dsm2124986a91.7.2026.10.09.00.43.04
        (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);
        Fri, 09 Oct 2026 00:43:06 -0700 (PDT)
X-Cc: "David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>,
	linux-sctp@vger.kernel.org,
	netdev@vger.kernel.org,
	David Lee <david.lee@trailofbits.com>,
	Kyle Zeng <kylebot@openai.com>
X-Mailer: git-send-email 2.54.0
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>