git: ec4021380ce7 - stable/14 - LinuxKPI: skbuff: add dummy skb_copy_header()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Jun 2025 09:14:12 UTC
The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=ec4021380ce71c1845e37c0480a805fbf136efdd commit ec4021380ce71c1845e37c0480a805fbf136efdd Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2024-07-29 16:09:02 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2025-06-10 23:38:02 +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 (cherry picked from commit 84c5998ccb0b3e8a401d1f2b5a32649e88847d63) --- 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) {