From nobody Sat Aug 19 04:56:41 2023 X-Original-To: dev-commits-src-all@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 4RSRKk12B5z4q8Wt; Sat, 19 Aug 2023 04:56:42 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RSRKk0SRmz4FXs; Sat, 19 Aug 2023 04:56:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692421002; 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=DPcQfa9YwgpNkChwVv7ATnWO5zfEuJyRIKD/R+3xynI=; b=udw7xkFkVBrL1Vg3+gc9W3dIW1lUbG9U06TUTtem6JtXTxDAQ47Mk3tK2GouDTOF71P1z2 n5NMjESOoEqCpTOYGfVBYZ8mHKLuNOhISuvyX4vDBO4diXsQwvkRdGKEoifFccAFY5t+Zp MfYyPUORrhCFC7pQLV1cqC3Ek/W8Vz/NFrfEq0VXdhTlabsqmbpoA1rpYYHk3+VIQ+W5lh sCz9HA4WBfMNTnGjt47OgDlp5O83wpmwKA+t1pZxDhOIDgU2NQD7fMoMEKyemBTLmG9tbH ExBZK6ndiBhICIC/f1VdSl544RA19eeGgKpwlz2VW6X7vvdePRDiQxAPtNX+Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692421002; 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=DPcQfa9YwgpNkChwVv7ATnWO5zfEuJyRIKD/R+3xynI=; b=kmurzaYNHYunrg+oZci1UMfYDOfOkIgosJWxjEd/IElhDpN121O/fu1uLoy7jO/x2Qu+to MM+AaSCWsTrbTPILg06RDoXIe7uiOP3lldM9xHDXgCrlYHox+tVYefqTM2fDcl+T/YD+W6 qq+DQ8WWDq8mnhHFj35kSDsniQQbz0huAe9WyFrWmVUM3DPM6svlKl2bjNW/jaxGicWehp KiVII2rolq9yhZoE/HJeHtZJLEwwOEZwxdUZ7w2CLQ+qsrF2iilMILudx7hxPjPXWNTfto DzuRbp94I/bdghAITqPwkczEdZEBjAHWaCsAO8EYKJdgWKm8wgg5SmWsVjlG+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692421002; a=rsa-sha256; cv=none; b=cxrNP1T0SHOyVUFye+5PCtLamkg2/bDZNDY1pVAX92lnsULSsY73ZswXo3kq5mLjfSPFL+ 64e4s+IqEbd5/UXuShKPCNDv1YGbXkvbgNZERIxa9oneeGdi0iqN655lTxUAthKnqIOT4X 0dpLjInmV0fhsHyBvPkbq3YF/LxraHIJ1Ey+GOQ8sSc1XAy6MY699X/7Q2godGvbqZSN9b A0wbpLIYWGvyxs1o91bu4Fia3sL7IqXbcqnbYi6M0Wlk/pHZKkP+IK3B0Ab7jwJjStQEo6 rnqqlFtkW50bn0f72AFL7KG9u/TFA9TnGWwhzxiIJ21a24NFFrOkYYhTPWjk+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RSRKj6dzdzlMB; Sat, 19 Aug 2023 04:56:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37J4ufEu085478; Sat, 19 Aug 2023 04:56:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37J4ufGS085475; Sat, 19 Aug 2023 04:56:41 GMT (envelope-from git) Date: Sat, 19 Aug 2023 04:56:41 GMT Message-Id: <202308190456.37J4ufGS085475@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: e039b38d4652 - main - LinuxKPI: skbuff: add skb_cow_head() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: e039b38d4652b6a68567f8d632c3dfa4f15c40f6 Auto-Submitted: auto-generated The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=e039b38d4652b6a68567f8d632c3dfa4f15c40f6 commit e039b38d4652b6a68567f8d632c3dfa4f15c40f6 Author: Bjoern A. Zeeb AuthorDate: 2023-08-10 02:07:41 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-08-19 04:55:56 +0000 LinuxKPI: skbuff: add skb_cow_head() Add dummy implementation of skb_cow_head(). Sponsored by: The FreeBSD Foundation MFC after: 10 days --- sys/compat/linuxkpi/common/include/linux/skbuff.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/skbuff.h b/sys/compat/linuxkpi/common/include/linux/skbuff.h index 6f48ac74996b..c917b3f09ac9 100644 --- a/sys/compat/linuxkpi/common/include/linux/skbuff.h +++ b/sys/compat/linuxkpi/common/include/linux/skbuff.h @@ -1067,6 +1067,14 @@ skb_mark_for_recycle(struct sk_buff *skb) SKB_TODO(); } +static inline int +skb_cow_head(struct sk_buff *skb, unsigned int headroom) +{ + SKB_TRACE(skb); + SKB_TODO(); + return (-1); +} + #define SKB_WITH_OVERHEAD(_s) \ (_s) - ALIGN(sizeof(struct skb_shared_info), CACHE_LINE_SIZE)