From nobody Wed Jan 21 18:32:16 2026 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 4dxCTs1vb6z6PYHC for ; Wed, 21 Jan 2026 18:32:17 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dxCTr56g4z4507 for ; Wed, 21 Jan 2026 18:32:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769020336; 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=/b19gIseMN2BgyJd5xgfQ85votNa/zTKUkbOcxSdCpI=; b=YFXDsGkZZZvYXoscYNhtu4XqbOIIrXQe3zTnLvPbsEOD7qiOCh4D90yM7KKcrHcSsDMW8f MntYfWJnR6hIsGAjgDiV/hrNkFI6pS4S/Kw+LEwD6+31lumLLAIsFxfnqRGpwFg5ihPaU6 /xeLJCwXHxq2MQzowBZeEiHRJ3dnVxX2kgBtmG4i0jfmAwOw7VS+3uP1IKAenzeOZ2eakj TE/BiMk+ldUd3kIQDP8jafC3OUJnK+FkiWX/968F/wlX59tcYdxcj+dUpR3eOrNudjC3xz neg2wW0+nwW8BgQvDaXnqFT78W/HwWl8wOEuAeBBuAMSdUMxmUlsH7Qpf032zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769020336; 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=/b19gIseMN2BgyJd5xgfQ85votNa/zTKUkbOcxSdCpI=; b=H15RKPB5fxLn884wZVMSbH3jZ7RXC2Lsb1+u+syIAxnBBznQF5OUu1uAAN6M5bB8WBoP9l fb1Mu2Qywh7ZaEGiNE8EBSMHtSRB/5fIVnkr52R1DTfSXofpU4QyqdFT2OK1QpOX6YSVW3 tGjCThcu/C6XVHb2u6Dh2QNDM+tjjzmVaXi3SFmim3bXulehBYh+iq56PLNmJe6T0M2KO8 a10XGP/2QhGL6/EbKTqHXEw+9qpqlzzxP5b6c0Nvkb2YxjJ/dCwCmCXSUg4EACMZ4m+Whv Xe6dprMR/qlpwiDlqp5/+11+xcRY1nEDFhrKfjKmvEGRFGU/AHK4tUhE/iYnFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769020336; a=rsa-sha256; cv=none; b=C44pzmDtHFSyU/3ck1Ik8BrMd213hbn9grB17GjC67gsPyAYXEeHsKBhh5ecqPbwtS6lQ9 Akjv+d+F677gsIBoKvrhD0QaJxCByIYGu1HPwm66pokQGs/KSDBobMF9P+qStIqTfFvNG7 e3iaINCAKpDs6LDYnXSdQdrHhRnRuAYyUAxsvOZiTZkAt/Q9/8lypwi26wcVURXuGfgCFp gADpXF9kUPA4R+c7i05dOzeDid/B+0N0+yR8QAQOauFXn45p4+XQf7AhU0QGNpD9G9pKSh DJBS8uDJ1T95HCENv6whawBK3JP4AthBZijVMFkC53HHf9oWiBaRos+UFBP3uQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dxCTr4RtXzymx for ; Wed, 21 Jan 2026 18:32:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 44d00 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 21 Jan 2026 18:32:16 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Bjoern A. Zeeb Subject: git: f1d7eea9dc1e - main - LinuxKPI: skbuff: implement skb_queue_splice() 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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: f1d7eea9dc1e78ecd247e060f4e8395ba4e77346 Auto-Submitted: auto-generated Date: Wed, 21 Jan 2026 18:32:16 +0000 Message-Id: <69711bb0.44d00.5269e32c@gitrepo.freebsd.org> The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=f1d7eea9dc1e78ecd247e060f4e8395ba4e77346 commit f1d7eea9dc1e78ecd247e060f4e8395ba4e77346 Author: Bjoern A. Zeeb AuthorDate: 2026-01-20 22:49:05 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-01-21 18:31:08 +0000 LinuxKPI: skbuff: implement skb_queue_splice() Add skb_queue_splice() and use it in skb_queue_splice_init() which already had that functionality (plus the init bit). The new function is used by rtw89(4). Sponosred by: The FreeBSD Foundation MFC after: 3 days --- sys/compat/linuxkpi/common/include/linux/skbuff.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/linux/skbuff.h b/sys/compat/linuxkpi/common/include/linux/skbuff.h index 2e560a120e41..c43d6daff5ee 100644 --- a/sys/compat/linuxkpi/common/include/linux/skbuff.h +++ b/sys/compat/linuxkpi/common/include/linux/skbuff.h @@ -770,7 +770,7 @@ ___skb_queue_splice(const struct sk_buff_head *from, } static inline void -skb_queue_splice_init(struct sk_buff_head *from, struct sk_buff_head *to) +skb_queue_splice(const struct sk_buff_head *from, struct sk_buff_head *to) { SKB_TRACE2(from, to); @@ -780,6 +780,13 @@ skb_queue_splice_init(struct sk_buff_head *from, struct sk_buff_head *to) ___skb_queue_splice(from, (struct sk_buff *)to, to->next); to->qlen += from->qlen; +} + +static inline void +skb_queue_splice_init(struct sk_buff_head *from, struct sk_buff_head *to) +{ + + skb_queue_splice(from, to); __skb_queue_head_init(from); }