LinuxKPI: skbuff: add skb_cow_head()

Add dummy implementation of skb_cow_head().

Sponsored by:	The FreeBSD Foundation
MFC after:	10 days
This commit is contained in:
Bjoern A. Zeeb 2023-08-10 02:07:41 +00:00
parent 149c457de1
commit e039b38d46

View File

@ -1067,6 +1067,14 @@ skb_mark_for_recycle(struct sk_buff *skb)
SKB_TODO();
}
static inline int
skb_cow_head(struct sk_buff *skb, unsigned int headroom)
{
SKB_TRACE(skb);
SKB_TODO();
return (-1);
}
#define SKB_WITH_OVERHEAD(_s) \
(_s) - ALIGN(sizeof(struct skb_shared_info), CACHE_LINE_SIZE)