From patchwork Fri Aug 9 08:34:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hopps X-Patchwork-Id: 13758552 Received: from smtp.chopps.org (smtp.chopps.org [54.88.81.56]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6CE10172777 for ; Fri, 9 Aug 2024 08:35:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.88.81.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723192558; cv=none; b=B3342TemLf9E9Btyib4Vl0i3nC+JFT6Es5MnuShdF7hy5JAe83J7HtJviefh67PN8k1W+eVrSK/XR/a8bTC4b2JT7MXeYTA+6EED4+mlk93rYG2Xb+ggWgsrKmcfZ0g/Ot/RT9m8DOlOjzpcTYwD5OBZ8zCiCM8WukIVAaN/aJo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723192558; c=relaxed/simple; bh=h6OZ13BAVZNTvfPcclP5dYty4Z6aac5DFKcj/u9L0Bk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OloVIVoJOOncmhkqxUrvGTk/Ex507ghmlA9qHqvmVKJUXJXDRpqlGG+4CGlcQbZpJoTfZZkV9h7WPVcNpUtIpyaOe6fSCujYHHIPm1GQmJmabF0iEXK8FHduX2WhOZ324QpMOTKsl8pu9F3cm0RuB6tnuNG1XL5RbVAJZgtszCc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=chopps.org; spf=fail smtp.mailfrom=chopps.org; arc=none smtp.client-ip=54.88.81.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=chopps.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=chopps.org Received: from labnh.int.chopps.org (syn-172-222-091-149.res.spectrum.com [172.222.91.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by smtp.chopps.org (Postfix) with ESMTPSA id C73FE7D10C; Fri, 9 Aug 2024 08:35:55 +0000 (UTC) From: Christian Hopps To: devel@linux-ipsec.org Cc: Steffen Klassert , netdev@vger.kernel.org, "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Florian Westphal , Sabrina Dubroca , Simon Horman , Antony Antony , Christian Hopps Subject: [PATCH ipsec-next v1 00/02] Add 2 functions to skbuff for code sharing Date: Fri, 9 Aug 2024 04:34:58 -0400 Message-ID: <20240809083500.2822656-1-chopps@chopps.org> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 * Summary of Changes: This patchset contains 2 commits which add 2 functions to skbuff.[ch]. - skb_copy_seq_read() - copy from a skb_seq_state to a buffer - ___copy_skb_header() - factored existing code these are used in a followup patchset implementing IP-TFS/AggFrag encapsulation (https://www.rfc-editor.org/rfc/rfc9347.txt) Patchset History: ----------------- v1 (8/9/2024) - Created from IP-TFS patchset v9 v2 (8/9/2024) - resend with corrected CC list. Patchset Changes: ----------------- include/linux/skbuff.h | 2 ++ net/core/skbuff.c | 43 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 44 insertions(+), 1 deletion(-)