From nobody Tue Jun 3 18:37:46 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bBfbG5kXhz5y1Bh; Tue, 03 Jun 2025 18:37:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bBfbG2wx8z3bbB; Tue, 03 Jun 2025 18:37:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748975866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=A7iCoNpkRGyi9z1/BJZq/sFfKd2cRNx9KnReFy+218I=; b=lEzKUyX5LiBH9sHvXNlvua4fSZem2+WE7+PtyBwi1fpaTxCIMJGkkPZdCmWuYdyxHklSFy dECrfMBBrAwPllA7umvQMMTtZ9aI9Sjh8BKPt5/0gdyoPbLiwEw0W2jcyEi7LNcUiTrVas reeZURLtfdZ47zGoEP6OWQQ1GIgkZB5y2z1/DvqWXrG3pU2VixPGGb8jC7m+bxuWS7fVdW kXf59/rQ6fSErYynQx9NOy3YFifAASBuR8ns4V7S40JQsSLGmkR7FjXWEOFK/BxGKwRMxw uMxdlflLcjPNA9DADdFohTehASswta7YR/jQT5gydZBNRIvcDD419Jty/z/Kaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748975866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=A7iCoNpkRGyi9z1/BJZq/sFfKd2cRNx9KnReFy+218I=; b=q8APrYrbheG2keMmvBsVnnvQM++h54nDYEQB98UGvCIz7R4ho/KUxQp0YCI7ZVc6FwjVMz b99p33VM1chDuda+in7Nlycm8Mvstbd3YkE/LOJjgZQibhAFHzDNiCqfEvVKsPA04YCQDU 9nK4Aj3byzoDM1Z7nX8nLQMSiS2AbBJkx+DWLelYNFlufd+HEMdFp+4hbMe9zlWF4YL8BK IkdvlbeJp45v8wRvsVduj8xNLufvjFS9InWubT5WVxd7Bv868YYc+/b86QRDJh+IHhHwPL R2wMxQqU/pT3yc3/pI5o5aiOoNeuXvJe6mQ8heH9zqbVpKyR1TR33tP+R4ORyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1748975866; a=rsa-sha256; cv=none; b=gJlKM9P3iuPmvdTtvRfwTFB+2N/QZofaTbBNnFcEJCSto5Jf1c/GlNPNZzaBZAnM6bGDt8 ajPBXXI4vYO2NiIQAp8Or0dA6FGMyUe969EDCm3t8ldY6ohTKP6Nc/W/3QbLB9Uc5kpczN HEDDe3UINZVAtYfyi1WzT2dTwKek0FQg8IHimw0sUIuLWXBAsX6dkH3OHi5xbt8oTnlBXe 0J+qxOiFeqTm/oeApgRyyk2f+sI3zw2Xmvw3Ztw+CIO42DWByyo8vt/93grdk17sRTtybS TsmHKHper0Jgd4BQxNpGUAdV0iea57nxW8GlbJcuErxbm947cJbZWt5e0uLL2A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bBfbG1W2gzqkk; Tue, 03 Jun 2025 18:37:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 553Ibk3h000641; Tue, 3 Jun 2025 18:37:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 553Ibkvo000638; Tue, 3 Jun 2025 18:37:46 GMT (envelope-from git) Date: Tue, 3 Jun 2025 18:37:46 GMT Message-Id: <202506031837.553Ibkvo000638@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 84c5998ccb0b - main - LinuxKPI: skbuff: add dummy skb_copy_header() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 84c5998ccb0b3e8a401d1f2b5a32649e88847d63 Auto-Submitted: auto-generated The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=84c5998ccb0b3e8a401d1f2b5a32649e88847d63 commit 84c5998ccb0b3e8a401d1f2b5a32649e88847d63 Author: Bjoern A. Zeeb AuthorDate: 2024-07-29 16:09:02 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-06-03 18:35:10 +0000 LinuxKPI: skbuff: add dummy skb_copy_header() There's one case which needs skb_copy_header(); add a dummy function for now until we get to the code which uses it to test an implementation. Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/compat/linuxkpi/common/include/linux/skbuff.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/skbuff.h b/sys/compat/linuxkpi/common/include/linux/skbuff.h index 422bf99929c2..c8ad90281e34 100644 --- a/sys/compat/linuxkpi/common/include/linux/skbuff.h +++ b/sys/compat/linuxkpi/common/include/linux/skbuff.h @@ -1001,6 +1001,13 @@ skb_get_queue_mapping(struct sk_buff *skb) return (skb->qmap); } +static inline void +skb_copy_header(struct sk_buff *to, const struct sk_buff *from) +{ + SKB_TRACE2(to, from); + SKB_TODO(); +} + static inline bool skb_header_cloned(struct sk_buff *skb) {