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:
parent
149c457de1
commit
e039b38d46
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user