The branch main has been updated by bz:

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

commit 84c5998ccb0b3e8a401d1f2b5a32649e88847d63
Author:     Bjoern A. Zeeb <b...@freebsd.org>
AuthorDate: 2024-07-29 16:09:02 +0000
Commit:     Bjoern A. Zeeb <b...@freebsd.org>
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)
 {

Reply via email to