git: 88dbf83345fe - main - LinuxKPI: skbuff: add a misplaced socket operation to skbuff.h for now
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Oct 2025 07:53:16 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=88dbf83345feefa7181bd6df47786e1a8d1d304d
commit 88dbf83345feefa7181bd6df47786e1a8d1d304d
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-10-11 09:25:08 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-10-21 07:49:40 +0000
LinuxKPI: skbuff: add a misplaced socket operation to skbuff.h for now
This likely belongs in socket code which we do not have in LinuxKPI.
Needed by a wirless driver at v6.17.
MFC after: 3 days
---
sys/compat/linuxkpi/common/include/linux/skbuff.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/skbuff.h b/sys/compat/linuxkpi/common/include/linux/skbuff.h
index 6e41c368a8b8..2e560a120e41 100644
--- a/sys/compat/linuxkpi/common/include/linux/skbuff.h
+++ b/sys/compat/linuxkpi/common/include/linux/skbuff.h
@@ -1159,6 +1159,9 @@ skb_cow_head(struct sk_buff *skb, unsigned int headroom)
return (-1);
}
+/* Misplaced here really but sock comes from skbuff. */
+#define sk_pacing_shift_update(sock, n)
+
#define SKB_WITH_OVERHEAD(_s) \
(_s) - ALIGN(sizeof(struct skb_shared_info), CACHE_LINE_SIZE)