From 9c28109b5e6c084aaa8a8dcebb7cbe9d539383e4 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Tue, 28 Aug 2018 02:19:20 +0100 Subject: [PATCH] rtw_select_queue signature change in 4.19-rc1 Ref: https://github.com/torvalds/linux/commit/4f49dec9075aa0277b8c9c657ec31e6361f88724 --- os_dep/os_intfs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/os_dep/os_intfs.c b/os_dep/os_intfs.c index fadf117..3f6a151 100644 --- a/os_dep/os_intfs.c +++ b/os_dep/os_intfs.c @@ -652,7 +652,10 @@ static unsigned int rtw_classify8021d(struct sk_buff *skb) } static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)) + ,struct net_device *sb_dev + ,select_queue_fallback_t fallback +#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)) ,void *unused ,select_queue_fallback_t fallback #elif (LINUX_VERSION_CODE == KERNEL_VERSION(3, 13, 0))