summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2025-10-11 09:25:08 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2026-01-16 19:37:53 +0000
commitefa6449e09dae6a8ee2a111313f761c275dc5fc7 (patch)
tree338a7d907f882456e05a606efd1ea3a0110c0385
parenta75a58393b81a3a9d2c36eb7f5770d2b50d7ebee (diff)
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. (cherry picked from commit 88dbf83345feefa7181bd6df47786e1a8d1d304d) (cherry picked from commit 3ad05fa24a240011a8252140ff6431cb0b7879d9)
-rw-r--r--sys/compat/linuxkpi/common/include/linux/skbuff.h3
1 files changed, 3 insertions, 0 deletions
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)