Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx> --- backport/backport-include/linux/netdevice.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backport/backport-include/linux/netdevice.h b/backport/backport-include/linux/netdevice.h index 66405df..25b0ccc 100644 --- a/backport/backport-include/linux/netdevice.h +++ b/backport/backport-include/linux/netdevice.h @@ -232,6 +232,10 @@ static inline void backport_unregister_netdevice_many(struct list_head *head) #define unregister_netdevice_many LINUX_BACKPORT(unregister_netdevice_many) #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0) +#define napi_alloc_frag netdev_alloc_frag +#endif + /* * Complicated way of saying: We only backport netdev_rss_key stuff on kernels * that either already have net_get_random_once() (>= 3.13) or where we've been -- 2.2.2 -- To unsubscribe from this list: send the line "unsubscribe backports" in