From patchwork Fri Aug 9 08:23:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hopps X-Patchwork-Id: 13758531 Received: from smtp.chopps.org (smtp.chopps.org [54.88.81.56]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 130A0178364 for ; Fri, 9 Aug 2024 08:24:47 +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=1723191889; cv=none; b=CWrFOAJGu1CyV/6reHzf6Ez3lFx2A9crw2AX6bK1SV3ypK9/JC4MZErZR0DD2UOvOSO4ygNeHUMGBQjc1HjEcsjNj5iLDgLOX9sbs4BPWZxNm46+TQ+Atx+Uaba1qtO0JahJBKnLshULk7RZcXgxMFtXjNOBGy3nbYJWokgjrPY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723191889; c=relaxed/simple; bh=6idp9jUdWpfN3emC9Mwdhlcq0s0VtnR6qdTbIWBmNhw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lRHnwCxLj6F316WYrBOKoZU3GBUnQeUUAlb60N4wpAnkvhRmBDqtKz6M0WpTGgnvoGU/fBbGVaI7t8z255i/eYtvfOUyd1q8TpkAvfVNjZkR7lUen/dAHCSibR1iejOTCloKeDpRcXmOkecQ5HADQEdQ49zB+P3l1AELmxkb/I0= 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 0604F7D10C; Fri, 9 Aug 2024 08:24:45 +0000 (UTC) From: Christian Hopps To: devel@linux-ipsec.org Cc: Steffen Klassert , netdev@vger.kernel.org, Christian Hopps , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Florian Westphal , Sabrina Dubroca , Simon Horman , Antony Antony Subject: [PATCH ipsec-next v1 00/02] Add 2 functions to skbuff for code sharing Date: Fri, 9 Aug 2024 04:23:12 -0400 Message-ID: <20240809082314.2810408-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 Patchset Changes: ----------------- include/linux/skbuff.h | 2 ++ net/core/skbuff.c | 43 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 44 insertions(+), 1 deletion(-)