mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
LinuxKPI: skbuff: add skb_get_hash()
Add a dummy implementation of skb_get_hash() until we'll hit and implement it. It'll help to keep an upcoming wireless driver to compile. MFC after: 10 days
This commit is contained in:
parent
047298203f
commit
369264acf7
1 changed files with 8 additions and 0 deletions
|
|
@ -1046,6 +1046,14 @@ napi_consume_skb(struct sk_buff *skb, int budget)
|
|||
SKB_TODO();
|
||||
}
|
||||
|
||||
static inline uint32_t
|
||||
skb_get_hash(struct sk_buff *skb)
|
||||
{
|
||||
SKB_TRACE(skb);
|
||||
SKB_TODO();
|
||||
return (0);
|
||||
}
|
||||
|
||||
#define SKB_WITH_OVERHEAD(_s) \
|
||||
(_s) - ALIGN(sizeof(struct skb_shared_info), CACHE_LINE_SIZE)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue