mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
LinuxKPI: skbuff: add dummy skb_copy_header()
There's one case which needs skb_copy_header(); add a dummy function
for now until we get to the code which uses it to test an implementation.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 84c5998ccb)
This commit is contained in:
parent
6e214c2140
commit
1ca66ac330
1 changed files with 7 additions and 0 deletions
|
|
@ -1001,6 +1001,13 @@ skb_get_queue_mapping(struct sk_buff *skb)
|
|||
return (skb->qmap);
|
||||
}
|
||||
|
||||
static inline void
|
||||
skb_copy_header(struct sk_buff *to, const struct sk_buff *from)
|
||||
{
|
||||
SKB_TRACE2(to, from);
|
||||
SKB_TODO();
|
||||
}
|
||||
|
||||
static inline bool
|
||||
skb_header_cloned(struct sk_buff *skb)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue