Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2026 15:49:23 +0000
From:      Bjoern A. Zeeb <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b36460e5ec46 - main - LinuxKPI: skbuff: implement napi_build_skb()
Message-ID:  <6a5a4f03.1f92a.5932bb7d@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=b36460e5ec4659d0fa14b35c9342c5a154b3db7d

commit b36460e5ec4659d0fa14b35c9342c5a154b3db7d
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-02-03 22:13:24 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-07-17 15:48:53 +0000

    LinuxKPI: skbuff: implement napi_build_skb()
    
    Implement napi_build_skb() around linuxkpi_build_skb().
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
---
 sys/compat/linuxkpi/common/include/linux/skbuff.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys/compat/linuxkpi/common/include/linux/skbuff.h b/sys/compat/linuxkpi/common/include/linux/skbuff.h
index ca8c7320a37b..a0724803e732 100644
--- a/sys/compat/linuxkpi/common/include/linux/skbuff.h
+++ b/sys/compat/linuxkpi/common/include/linux/skbuff.h
@@ -1145,9 +1145,13 @@ napi_consume_skb(struct sk_buff *skb, int budget)
 static inline struct sk_buff *
 napi_build_skb(void *data, size_t len)
 {
+	struct sk_buff *skb;
 
-	SKB_TODO();
-	return (NULL);
+	SKB_IMPROVE("len and all needs fixing likely");
+
+	skb = linuxkpi_build_skb(data, len);
+	SKB_TRACE(skb);
+	return (skb);
 }
 
 static inline uint32_t


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a5a4f03.1f92a.5932bb7d>