From patchwork Sun Feb 23 20:45:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thorsten Blum X-Patchwork-Id: 13987239 X-Patchwork-Delegate: kuba@kernel.org Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [95.215.58.180]) (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 DB301EEB5 for ; Sun, 23 Feb 2025 20:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740343615; cv=none; b=LDS9M+KkdlI6iAXkpiecmZxgGlEPGQJcF0U2A0n2Dx1gkzDIxRDVMcP6Q0j2WAsA8/cMF2iqrmVkmRq/Dl6t5/PG3lx8j0h170MQAjCciKux1iQvoY7yeXyYT+rsIvQAbkqyNgNygqE0hn5xB+EQ3ZHR7Lw7hucQWjA1rGxw0Ic= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740343615; c=relaxed/simple; bh=yiBlED7Er+79WUdSAwX3nMETMxNgXccfcRJLbl9a+3U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rsxlmNnfc3n2BGI7Y4lK4kG35EaKlXRIvJbxqQxaGnPrhjOW2ypbZ46cA/PTlYdKjy4ZKjSTHs5FbClGM3xuUYuVzRJwMO3UdDoKU7+b/WXYO8SNLat5EGrzPc8HW4IrbL5LB5qWPGW39spZLl9bjUhAkxJU7wtfTzJfSghzw8U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=ZcqU6b25; arc=none smtp.client-ip=95.215.58.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="ZcqU6b25" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1740343601; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=08QzHP3bP7KO+u09LJ+0D9dSqxkLj1k8AYQJMF6TyWY=; b=ZcqU6b25GdDRR4L8CfFzuPIVYtHztbmotSU/lX9mDicghWIXYEZfd9mipMGjO1gE10uoTW B/b1H3xvPaJ4lt7VWdHDq4QDKB16AAVOs/lhi6nL/6P0kLCXHZX0H/DaTYGVt37NYEsHRu q8ayk9YW2SajD7rhuhOiI4xgTTM9g/Q= From: Thorsten Blum To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Marcelo Ricardo Leitner , Xin Long Cc: Thorsten Blum , Kees Cook , linux-sctp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next] sctp: Remove unused payload from sctp_idatahdr Date: Sun, 23 Feb 2025 21:45:07 +0100 Message-ID: <20250223204505.2499-3-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Patchwork-Delegate: kuba@kernel.org Remove the unused payload array from the struct sctp_idatahdr. Cc: Kees Cook Signed-off-by: Thorsten Blum --- include/linux/sctp.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/sctp.h b/include/linux/sctp.h index 836a7e200f39..0b0228578153 100644 --- a/include/linux/sctp.h +++ b/include/linux/sctp.h @@ -239,7 +239,6 @@ struct sctp_idatahdr { __u32 ppid; __be32 fsn; }; - __u8 payload[0]; }; struct sctp_idata_chunk {