forked from pool/virtualbox
15 lines
594 B
Diff
15 lines
594 B
Diff
|
Index: VirtualBox-6.1.16/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
||
|
===================================================================
|
||
|
--- VirtualBox-6.1.16.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
||
|
+++ VirtualBox-6.1.16/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
||
|
@@ -342,6 +342,9 @@ typedef struct ethtool_ops OVR_OPSTYPE;
|
||
|
|
||
|
# else /* RTLNX_VER_MIN(2,6,29) */
|
||
|
|
||
|
+#if RTLNX_VER_MIN(5,11,0)
|
||
|
+# include <linux/ethtool.h>
|
||
|
+#endif
|
||
|
typedef struct net_device_ops OVR_OPSTYPE;
|
||
|
# define OVR_OPS netdev_ops
|
||
|
# define OVR_XMIT pOrgOps->ndo_start_xmit
|