git: 3ad05fa24a24 - stable/15 - LinuxKPI: skbuff: add a misplaced socket operation to skbuff.h for now

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Thu, 23 Oct 2025 09:44:11 UTC
The branch stable/15 has been updated by bz:

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

commit 3ad05fa24a240011a8252140ff6431cb0b7879d9
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-23 06:35:20 +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.
    
    (cherry picked from commit 88dbf83345feefa7181bd6df47786e1a8d1d304d)
---
 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)