net: Export skb_headers_offset_update
This is needed for veth XDP which does skb_copy_expand()-like operation. v2: - Drop skb_copy_header part because it has already been exported now. Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:

committed by
Daniel Borkmann

parent
c4c2021754
commit
b0768a8658
@@ -1038,6 +1038,7 @@ static inline struct sk_buff *alloc_skb_fclone(unsigned int size,
|
||||
}
|
||||
|
||||
struct sk_buff *skb_morph(struct sk_buff *dst, struct sk_buff *src);
|
||||
void skb_headers_offset_update(struct sk_buff *skb, int off);
|
||||
int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask);
|
||||
struct sk_buff *skb_clone(struct sk_buff *skb, gfp_t priority);
|
||||
void skb_copy_header(struct sk_buff *new, const struct sk_buff *old);
|
||||
|
Reference in New Issue
Block a user