Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx> --- backport/backport-include/linux/skbuff.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backport/backport-include/linux/skbuff.h b/backport/backport-include/linux/skbuff.h index 888d2a0..6fd4249 100644 --- a/backport/backport-include/linux/skbuff.h +++ b/backport/backport-include/linux/skbuff.h @@ -300,4 +300,11 @@ int skb_ensure_writable(struct sk_buff *skb, int write_len); #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0) */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(4,2,0) +static inline void skb_free_frag(void *data) +{ + put_page(virt_to_head_page(data)); +} +#endif + #endif /* __BACKPORT_SKBUFF_H */ -- 2.2.2 -- To unsubscribe from this list: send the line "unsubscribe backports" in