Updated to compile on kernel 4.19.0+

Updated:
u16 (*)(struct net_device *, struct sk_buff *, void *)
to
u16 (*)(struct net_device *, struct sk_buff *, struct net_device *)
This commit is contained in:
Jim 2018-12-12 05:45:53 -05:00 committed by GitHub
parent ad1b9e30ce
commit 9fc768c393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1010,7 +1010,9 @@ 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, 13, 0))
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))
, struct net_device *unused
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0))
, void *unused
#endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0))