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
This commit is contained in:
Bjoern A. Zeeb
2025-10-11 09:25:08 +00:00
parent 224ac9d2a0
commit 88dbf83345
@@ -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)