diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-10-11 09:25:08 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-10-21 07:49:40 +0000 |
| commit | 88dbf83345feefa7181bd6df47786e1a8d1d304d (patch) | |
| tree | 01c5baead30fbf354bc4bee3d9bea08f63b32c90 | |
| parent | 224ac9d2a030f85924e44a507ddc412797c3fe87 (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.
MFC after: 3 days
| -rw-r--r-- | sys/compat/linuxkpi/common/include/linux/skbuff.h | 3 |
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) |
