2018-03-21 05:07:32 +01:00
|
|
|
Index: VirtualBox-5.2.8/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
|
2017-10-21 20:51:06 +02:00
|
|
|
===================================================================
|
2018-03-21 05:07:32 +01:00
|
|
|
--- VirtualBox-5.2.8.orig/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
|
|
|
|
+++ VirtualBox-5.2.8/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
|
2017-10-21 20:51:06 +02:00
|
|
|
@@ -46,7 +46,7 @@
|
|
|
|
typedef struct RTR0SEMLNXWAIT
|
|
|
|
{
|
|
|
|
/** The wait queue entry. */
|
|
|
|
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 13, 0)
|
|
|
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
|
|
|
|
wait_queue_entry_t WaitQE;
|
|
|
|
#else
|
|
|
|
wait_queue_t WaitQE;
|
2018-03-21 05:07:32 +01:00
|
|
|
Index: VirtualBox-5.2.8/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
2017-11-07 17:41:30 +01:00
|
|
|
===================================================================
|
2018-03-21 05:07:32 +01:00
|
|
|
--- VirtualBox-5.2.8.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
|
|
|
+++ VirtualBox-5.2.8/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
|
2018-01-12 18:14:46 +01:00
|
|
|
@@ -150,6 +150,10 @@ typedef struct VBOXNETFLTNOTIFIER *PVBOX
|
|
|
|
# endif
|
2017-11-07 17:41:30 +01:00
|
|
|
#endif
|
|
|
|
|
2017-11-11 04:41:47 +01:00
|
|
|
+# if 1
|
|
|
|
+#define SKB_GSO_UDP 0
|
|
|
|
+#endif
|
|
|
|
+
|
2017-11-07 17:41:30 +01:00
|
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 20, 0)
|
2017-11-11 04:41:47 +01:00
|
|
|
# define VBOX_HAVE_SKB_VLAN
|
|
|
|
#else
|
2018-03-22 20:33:56 +01:00
|
|
|
Index: VirtualBox-5.2.8/src/VBox/Additions/linux/drm/vbox_mode.c
|
2018-03-21 05:07:32 +01:00
|
|
|
===================================================================
|
2018-03-22 20:33:56 +01:00
|
|
|
--- VirtualBox-5.2.8.orig/src/VBox/Additions/linux/drm/vbox_mode.c
|
|
|
|
+++ VirtualBox-5.2.8/src/VBox/Additions/linux/drm/vbox_mode.c
|
|
|
|
@@ -401,11 +401,7 @@ static struct drm_encoder *vbox_best_sin
|
|
|
|
|
|
|
|
/* pick the encoder ids */
|
|
|
|
if (enc_id)
|
|
|
|
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
|
|
|
|
return drm_encoder_find(connector->dev, NULL, enc_id);
|
2018-03-21 05:07:32 +01:00
|
|
|
-#else
|
2018-03-22 20:33:56 +01:00
|
|
|
- return drm_encoder_find(connector->dev, enc_id);
|
2018-03-21 05:07:32 +01:00
|
|
|
-#endif
|
|
|
|
|
2018-03-22 20:33:56 +01:00
|
|
|
return NULL;
|
2018-03-21 05:07:32 +01:00
|
|
|
}
|