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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user