Skip to content

Commit

Permalink
linux-5.2: disable fallback from rtw_select_queue
Browse files Browse the repository at this point in the history
The fallback parameter has been removed in the latest kernel (>= 5.2)

See: torvalds/linux@a350ecc
  • Loading branch information
Hansruedi Patzen committed May 15, 2019
1 parent 4c63f21 commit 235c8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os_dep/linux/os_intfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,7 @@ static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb
#else
, struct net_device *sb_dev
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0))
, select_queue_fallback_t fallback
#endif
#endif
Expand Down

0 comments on commit 235c8c5

Please sign in to comment.